aboutsummaryrefslogtreecommitdiff
path: root/games/garden/garden.SlackBuild
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/garden/garden.SlackBuild
parenta8620fbd1b1a53290eb4eb308d20ad531d1679be (diff)
games/garden: Updated for version 1.0.9.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'games/garden/garden.SlackBuild')
-rw-r--r--games/garden/garden.SlackBuild23
1 files changed, 9 insertions, 14 deletions
diff --git a/games/garden/garden.SlackBuild b/games/garden/garden.SlackBuild
index e17bae8d0d842..72afd9d19a648 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