summaryrefslogtreecommitdiff
path: root/games
diff options
context:
space:
mode:
authorLEVAI Daniel <leva@ecentrum.hu>2015-01-20 22:18:03 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2015-01-20 22:18:03 +0700
commit6c469fcfd070994fce08dc5bd5e8156454d8ad32 (patch)
treef8ef84bba2c8345fd650711de7a9fd1088de23e3 /games
parenta8620fbd1b1a53290eb4eb308d20ad531d1679be (diff)
downloadslackbuilds-6c469fcfd070994fce08dc5bd5e8156454d8ad32.tar.gz
games/garden: Updated for version 1.0.9.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'games')
-rw-r--r--games/garden/garden.SlackBuild23
-rw-r--r--games/garden/garden.info6
2 files changed, 12 insertions, 17 deletions
diff --git a/games/garden/garden.SlackBuild b/games/garden/garden.SlackBuild
index e17bae8d0d..72afd9d19a 100644
--- a/games/garden/garden.SlackBuild
+++ b/games/garden/garden.SlackBuild
@@ -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
diff --git a/games/garden/garden.info b/games/garden/garden.info
index c79c5dc95d..4c179ce9be 100644
--- a/games/garden/garden.info
+++ b/games/garden/garden.info
@@ -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"