summaryrefslogtreecommitdiffstats
path: root/graphics/maim/maim.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'graphics/maim/maim.SlackBuild')
-rw-r--r--graphics/maim/maim.SlackBuild11
1 files changed, 6 insertions, 5 deletions
diff --git a/graphics/maim/maim.SlackBuild b/graphics/maim/maim.SlackBuild
index efb8883830..718ba31025 100644
--- a/graphics/maim/maim.SlackBuild
+++ b/graphics/maim/maim.SlackBuild
@@ -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