summaryrefslogtreecommitdiffstats
path: root/system/isomd5sum/isomd5sum.SlackBuild
diff options
context:
space:
mode:
author B. Watson2017-12-19 02:50:11 +0100
committer Willy Sudiarto Raharjo2017-12-21 02:19:33 +0100
commitbb7510e7f3a6c16d36b0e9182d830b6d9902aa53 (patch)
treefec18177db236d36870421c3dc8cf1fabf359f58 /system/isomd5sum/isomd5sum.SlackBuild
parentf19017a5af43a7d95619377e10f6ab79688dd3bc (diff)
downloadslackbuilds-bb7510e7f3a6c16d36b0e9182d830b6d9902aa53.tar.gz
system/isomd5sum: Updated for version 1.2.2.
Signed-off-by: B. Watson <yalhcru@gmail.com>
Diffstat (limited to 'system/isomd5sum/isomd5sum.SlackBuild')
-rw-r--r--system/isomd5sum/isomd5sum.SlackBuild8
1 files changed, 5 insertions, 3 deletions
diff --git a/system/isomd5sum/isomd5sum.SlackBuild b/system/isomd5sum/isomd5sum.SlackBuild
index 3453662b3e..91d56fb0a5 100644
--- a/system/isomd5sum/isomd5sum.SlackBuild
+++ b/system/isomd5sum/isomd5sum.SlackBuild
@@ -8,11 +8,12 @@
# Licensed under the WTFPL. See http://www.wtfpl.net/txt/copying/ for details.
+# 20171214 bkw: update for v1.2.2
# 20170614 bkw: update for v1.2.1
# 20170302 bkw: use long-format github URL
PRGNAM=isomd5sum
-VERSION=${VERSION:-1.2.1}
+VERSION=${VERSION:-1.2.2}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -82,11 +83,12 @@ if python3 --version >/dev/null 2>&1; then
clean all install-python
fi
+# fix .pc file stupidity:
+sed -i '/^\(libdir\|includedir\)/s,=.*usr,=/usr,' $PKG/usr/share/pkgconfig/$PRGNAM.pc
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/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
+gzip -9 $PKG/usr/man/man?/*.?
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a README COPYING testpyisomd5sum.py $PKG/usr/doc/$PRGNAM-$VERSION