mirror of
https://github.com/Ponce/slackbuilds
synced 2024-11-24 10:02:29 +01:00
graphics/maim: Updated for version 5.7.4.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
parent
bc9b40a1b7
commit
c4923921ad
2 changed files with 11 additions and 10 deletions
|
@ -2,7 +2,8 @@
|
|||
|
||||
# Slackware build script for maim
|
||||
|
||||
# Copyright 2019 klorophatu
|
||||
# Copyright 2019 klorophatu <klorophatu@krutt.org>
|
||||
# Copyright 2022 Isaac Yu <isaacyu1@isaacyu1.com>
|
||||
# All rights reserved.
|
||||
#
|
||||
# Redistribution and use of this script, with or without modification, is
|
||||
|
@ -25,7 +26,7 @@
|
|||
cd $(dirname $0) ; CWD=$(pwd)
|
||||
|
||||
PRGNAM=maim
|
||||
VERSION=${VERSION:-5.5.3}
|
||||
VERSION=${VERSION:-5.7.4}
|
||||
BUILD=${BUILD:-1}
|
||||
TAG=${TAG:-_SBo}
|
||||
PKGTYPE=${PKGTYPE:-tgz}
|
||||
|
@ -80,7 +81,7 @@ find -L . \
|
|||
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
|
||||
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
|
||||
|
||||
cmake -DCMAKE_INSTALL_PREFIX="/usr/" ./
|
||||
cmake -DCMAKE_INSTALL_PREFIX="/usr/" -DCMAKE_INSTALL_MANDIR="/usr/man/" ./
|
||||
|
||||
make
|
||||
make install DESTDIR=$PKG
|
||||
|
@ -88,8 +89,8 @@ make install DESTDIR=$PKG
|
|||
find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
|
||||
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
|
||||
|
||||
find $PKG/usr/share/man -type f -exec gzip -9 {} \;
|
||||
for i in $( find $PKG/usr/share/man -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done
|
||||
find $PKG/usr/man -type f -exec gzip -9 {} \;
|
||||
for i in $( find $PKG/usr/man -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done
|
||||
|
||||
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
|
||||
cp -a COPYING README.md license.txt $PKG/usr/doc/$PRGNAM-$VERSION
|
||||
|
|
|
@ -1,10 +1,10 @@
|
|||
PRGNAM="maim"
|
||||
VERSION="5.5.3"
|
||||
VERSION="5.7.4"
|
||||
HOMEPAGE="https://github.com/naelstrof/maim"
|
||||
DOWNLOAD="https://github.com/naelstrof/maim/archive/v5.5.3/maim-5.5.3.tar.gz"
|
||||
MD5SUM="ca877cdcf454f454076c6bf7a6d85890"
|
||||
DOWNLOAD="https://github.com/naelstrof/maim/archive/v5.7.4/maim-5.7.4.tar.gz"
|
||||
MD5SUM="3e0a19cc4d21414c38aed8e0122ab119"
|
||||
DOWNLOAD_x86_64=""
|
||||
MD5SUM_x86_64=""
|
||||
REQUIRES="imlib2 slop"
|
||||
MAINTAINER="klorophatu"
|
||||
EMAIL="klorophatu@krutt.org"
|
||||
MAINTAINER="Isaac Yu"
|
||||
EMAIL="isaacyu1@isaacyu1.com"
|
||||
|
|
Loading…
Reference in a new issue