diff options
Diffstat (limited to 'system/isomd5sum/isomd5sum.SlackBuild')
-rw-r--r-- | system/isomd5sum/isomd5sum.SlackBuild | 8 |
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 |