games/garden: Updated for version 1.0.9.

Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
LEVAI Daniel 2015-01-20 22:18:03 +07:00 committed by Willy Sudiarto Raharjo
parent a8620fbd1b
commit 6c469fcfd0
2 changed files with 12 additions and 17 deletions

View File

@ -1,6 +1,6 @@
#!/bin/sh
# Copyright (c) 2013 LEVAI Daniel
# Copyright (c) 2013-2015 LEVAI Daniel
# All rights reserved.
#
# Redistribution and use in source and binary forms, with or without
@ -26,7 +26,7 @@
# SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=garden
VERSION=1.0.8
VERSION=${VERSION:-1.0.9}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@ -67,24 +67,19 @@ tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
cd $PRGNAM-$VERSION
chown -R root:root .
find -L . \
\( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 -o -perm 511 \) \
-exec chmod 755 {} \; -o \
\( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
-exec chmod 644 {} \;
\( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
-o -perm 511 \) -exec chmod 755 {} \; -o \
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
./configure \
--prefix=/usr
# link to libm (symbol `hypot@@GLIBC_2.0' is missing otherwise)
sed -r -i -e 's/^(LDFLAGS =)/\1 -lm/' bin/Makefile
--prefix=/usr \
--bindir=/usr/games
make
make install-strip DESTDIR=$PKG
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a \
AUTHORS ChangeLog INSTALL NEWS COPYING README \
$PKG/usr/doc/$PRGNAM-$VERSION
cp -a AUTHORS ChangeLog INSTALL NEWS COPYING README $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
mkdir -p $PKG/install

View File

@ -1,8 +1,8 @@
PRGNAM="garden"
VERSION="1.0.8"
VERSION="1.0.9"
HOMEPAGE="http://garden.sourceforget.net"
DOWNLOAD="http://downloads.sourceforge.net/garden/garden-1.0.8.tar.gz"
MD5SUM="42966f2c457d71a3ff0dd30522801ade"
DOWNLOAD="http://downloads.sourceforge.net/garden/garden-1.0.9.tar.gz"
MD5SUM="b9cce86ab226164279ef325f9d798397"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES="allegro"