diff options
Diffstat (limited to 'system/tiger/tiger.SlackBuild')
-rw-r--r-- | system/tiger/tiger.SlackBuild | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/system/tiger/tiger.SlackBuild b/system/tiger/tiger.SlackBuild index 600b28984316..61172fa4d06c 100644 --- a/system/tiger/tiger.SlackBuild +++ b/system/tiger/tiger.SlackBuild @@ -11,6 +11,7 @@ VERSION=3.2.1 ARCH=${ARCH:-i486} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} + CWD=$(pwd) TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM @@ -41,17 +42,16 @@ make install DESTDIR=$PKG cp -a $PKG/usr/share/tiger/bin/* $PKG/usr/bin ( cd $PKG - find . | xargs file | grep "executable" | grep ELF | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null + find . | xargs file | grep "executable" | grep ELF | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true find . | xargs file | grep "shared object" | grep ELF | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null ) -mkdir -p $PKG/usr/man -cp -a $PKG/usr/share/tiger/man/* $PKG/usr/man +mkdir -p $PKG/usr/man/man8 +cp -a $PKG/usr/share/tiger/man/*.8 $PKG/usr/man/man8 ( cd $PKG/usr/man - find . -type f \( -name '*.man' -a -name *.in \)-exec gzip -9 {} \; find . -type f -exec gzip -9 {} \; - for i in $(find . -type l) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done + for i in $(find . -type l) ; do ln -s $(readlink $i).gz $i.gz ; rm $i ; done ) mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION |