diff options
Diffstat (limited to 'desktop/gtkhash/gtkhash.SlackBuild')
-rw-r--r-- | desktop/gtkhash/gtkhash.SlackBuild | 15 |
1 files changed, 8 insertions, 7 deletions
diff --git a/desktop/gtkhash/gtkhash.SlackBuild b/desktop/gtkhash/gtkhash.SlackBuild index 9cd41179ffec4..e44dfe25816e8 100644 --- a/desktop/gtkhash/gtkhash.SlackBuild +++ b/desktop/gtkhash/gtkhash.SlackBuild @@ -1,8 +1,8 @@ #!/bin/sh -# Slackware build script for gtkhash +# Slackware build script for GtkHash -# Copyright 2014 Aaditya Bagga <aaditya_gnulinux@zoho.com> +# Copyright 2014-2015 Aaditya Bagga <aaditya_gnulinux@zoho.com> # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -24,7 +24,7 @@ PRGNAM=gtkhash VERSION=${VERSION:-0.7.0} -BUILD=${BUILD:-1} +BUILD=${BUILD:-2} TAG=${TAG:-_SBo} if [ -z "$ARCH" ]; then @@ -67,8 +67,7 @@ find -L . \ \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \ -o -perm 511 \) -exec chmod 755 {} \; -o \ \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \ - -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; - + -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; CFLAGS="$SLKCFLAGS" \ CXXFLAGS="$SLKCFLAGS" \ @@ -88,13 +87,15 @@ CXXFLAGS="$SLKCFLAGS" \ # --enable-polarssl \ # --enable-nettle \ # --enable-nss \ -# --enable-mhash make 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 + mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION -cp -a AUTHORS COPYING ChangeLog INSTALL NEWS README $PKG/usr/doc/$PRGNAM-$VERSION +cp -a AUTHORS COPYING ChangeLog INSTALL NEWS README TODO $PKG/usr/doc/$PRGNAM-$VERSION cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild mkdir -p $PKG/install |