diff options
author | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2017-06-02 17:33:44 +0700 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2017-06-03 07:59:51 +0700 |
commit | 408c1f6f1c51115415f0e3d648b9a1de80ab8096 (patch) | |
tree | 3fc3a649daef57d21e766a8224edc35abad9ef7e /libraries/allegro/allegro.SlackBuild | |
parent | 7ae079e87110eb8f86f338e6a15993d2cf5dc870 (diff) | |
download | slackbuilds-408c1f6f1c51115415f0e3d648b9a1de80ab8096.tar.gz |
libraries/allegro: Updated for version 5.2.2.0.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'libraries/allegro/allegro.SlackBuild')
-rw-r--r-- | libraries/allegro/allegro.SlackBuild | 17 |
1 files changed, 6 insertions, 11 deletions
diff --git a/libraries/allegro/allegro.SlackBuild b/libraries/allegro/allegro.SlackBuild index 07717d3c1f..b8e70d4402 100644 --- a/libraries/allegro/allegro.SlackBuild +++ b/libraries/allegro/allegro.SlackBuild @@ -24,7 +24,8 @@ # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. PRGNAM=allegro -VERSION=${VERSION:-5.2.1} +SRCNAM=allegro5 +VERSION=${VERSION:-5.2.2.0} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} @@ -41,7 +42,7 @@ TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} -DOCS="CHANGES* CONTRIBUTORS* LICENSE* README*" +DOCS="CONTRIBUTORS* LICENSE* README*" if [ "$ARCH" = "i586" ]; then SLKCFLAGS="-O2 -march=i586 -mtune=i686" @@ -62,9 +63,9 @@ set -ue rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT cd $TMP -rm -rf $PRGNAM-$VERSION.0 -tar xvf $CWD/$PRGNAM-$VERSION.tar.gz -cd $PRGNAM-$VERSION.0 +rm -rf $SRCNAM-$VERSION +tar xvf $CWD/$SRCNAM-$VERSION.tar.gz +cd $SRCNAM-$VERSION chown -R root:root . find -L . \ \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \ @@ -87,12 +88,6 @@ cd .. 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 -## install man pages, thanks to Dimitris Zlatanidis -mkdir -p $PKG/usr/man/man3 -install -m 0644 docs/man/* $PKG/usr/man/man3 -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 - mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION cp -a $DOCS $PKG/usr/doc/$PRGNAM-$VERSION cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild |