diff options
author | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2016-02-07 11:25:09 +0700 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2016-02-07 11:25:09 +0700 |
commit | ccea84b9da65c4289468e5d2bc6da0e2729d0cc7 (patch) | |
tree | 7727b8435f0d6e7307b78ff26e2d7f0a886d9bbe /libraries/hug/hug.SlackBuild | |
parent | a9775635087662e53d035d3bb1c8251c443fe002 (diff) |
libraries/hug: Updated for version 0.100.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'libraries/hug/hug.SlackBuild')
-rw-r--r-- | libraries/hug/hug.SlackBuild | 13 |
1 files changed, 6 insertions, 7 deletions
diff --git a/libraries/hug/hug.SlackBuild b/libraries/hug/hug.SlackBuild index 8b5a06341e9f..d27cd1ac7d4b 100644 --- a/libraries/hug/hug.SlackBuild +++ b/libraries/hug/hug.SlackBuild @@ -5,7 +5,7 @@ # Written by Steve Pledger <spledger91@yahoo.com> PRGNAM=hug -VERSION=${VERSION:-0.80} +VERSION=${VERSION:-0.100} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} @@ -63,13 +63,12 @@ mkdir $PRGNAM-$VERSION cd $PRGNAM-$VERSION # Bacon creates a binary in the same location as the source, so copy the source file here. cat $CWD/hug.bac > hug.bac - chown -R root:root . 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 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \ - -exec chmod 644 {} \; + \( -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 {} \; # Build shared object "hug.so" bacon -p -o $(echo $SLKCFLAGS | sed -e 's: : -o :g') -f hug.bac @@ -77,7 +76,7 @@ bacon -p -o $(echo $SLKCFLAGS | sed -e 's: : -o :g') -f hug.bac mkdir -p $PKG/usr/lib${LIBDIRSUFFIX} install -m 0755 hug.so $PKG/usr/lib${LIBDIRSUFFIX} -find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \ +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/include |