diff options
author | Erik Hanson <erik@slackbuilds.org> | 2010-05-11 19:44:56 +0200 |
---|---|---|
committer | Erik Hanson <erik@slackbuilds.org> | 2010-05-11 19:44:56 +0200 |
commit | ad04daa9e5b0f7455f9d96c0a9797a75f2828fdd (patch) | |
tree | dda5128e04b3d65a0227bc571c0e51350a1cf8ab /libraries/allegro/allegro.SlackBuild | |
parent | 8c224b901e5a2dac867219900ff99d3910df3f13 (diff) | |
download | slackbuilds-ad04daa9e5b0f7455f9d96c0a9797a75f2828fdd.tar.gz |
libraries/allegro: Updated for version 4.2.1
Diffstat (limited to 'libraries/allegro/allegro.SlackBuild')
-rw-r--r-- | libraries/allegro/allegro.SlackBuild | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/libraries/allegro/allegro.SlackBuild b/libraries/allegro/allegro.SlackBuild index abe892188a..fc7c9cde54 100644 --- a/libraries/allegro/allegro.SlackBuild +++ b/libraries/allegro/allegro.SlackBuild @@ -12,7 +12,7 @@ VERSION=4.2.1 ARCH=${ARCH:-i586} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} -CWD=`pwd` +CWD=$(pwd) TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} @@ -41,12 +41,15 @@ make install DESTDIR=$PKG || exit 1 make install-gzipped-man DESTDIR=$PKG || exit 1 make install-gzipped-info DESTDIR=$PKG || exit 1 -find $PKG | xargs file | grep "executable" | grep ELF | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null -find $PKG | xargs file | grep "shared object" | grep ELF | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null +( cd $PKG + find . | xargs file | grep "executable" | grep ELF | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null + find . | xargs file | grep "shared object" | grep ELF | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null +) mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION cp -a readme.txt todo.txt AUTHORS CHANGES THANKS $PKG/usr/doc/$PRGNAM-$VERSION cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild + mkdir -p $PKG/install cat $CWD/slack-desc > $PKG/install/slack-desc |