summaryrefslogtreecommitdiffstats
path: root/graphics/maim
diff options
context:
space:
mode:
author Isaac Yu2022-12-01 16:10:13 +0100
committer Willy Sudiarto Raharjo2022-12-03 03:09:16 +0100
commitc4923921ad7d88afab15e0c4271cd5919ee01e6f (patch)
treec22bbbb9654ff8d6dfa966c341e4210262d5ef66 /graphics/maim
parentbc9b40a1b79c4cd1943c119004ddfb51049b331a (diff)
downloadslackbuilds-c4923921ad7d88afab15e0c4271cd5919ee01e6f.tar.gz
graphics/maim: Updated for version 5.7.4.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'graphics/maim')
-rw-r--r--graphics/maim/maim.SlackBuild11
-rw-r--r--graphics/maim/maim.info10
2 files changed, 11 insertions, 10 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
diff --git a/graphics/maim/maim.info b/graphics/maim/maim.info
index a4be07ed55..cb5668bfe8 100644
--- a/graphics/maim/maim.info
+++ b/graphics/maim/maim.info
@@ -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"