libraries/allegro: Updated for version 5.2.2.0.

Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
Willy Sudiarto Raharjo 2017-06-02 17:33:44 +07:00
parent 7ae079e871
commit 408c1f6f1c
2 changed files with 9 additions and 14 deletions

View File

@ -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

View File

@ -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=""