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 | |
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')
-rw-r--r-- | libraries/allegro/allegro.SlackBuild | 17 | ||||
-rw-r--r-- | libraries/allegro/allegro.info | 6 |
2 files changed, 9 insertions, 14 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 diff --git a/libraries/allegro/allegro.info b/libraries/allegro/allegro.info index dedb1facc9..bab4cbf831 100644 --- a/libraries/allegro/allegro.info +++ b/libraries/allegro/allegro.info @@ -1,8 +1,8 @@ PRGNAM="allegro" -VERSION="5.2.1" +VERSION="5.2.2.0" HOMEPAGE="https://www.allegro.cc/" -DOWNLOAD="http://download.gna.org/allegro/allegro/5.2.1/allegro-5.2.1.tar.gz" -MD5SUM="f1a3cf489d6ea4bf38c47598b0bbe44d" +DOWNLOAD="https://github.com/liballeg/allegro5/archive/5.2.2.0/allegro5-5.2.2.0.tar.gz" +MD5SUM="c0c5222b2e8093c1664b7221250bc8a9" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="" |