summaryrefslogtreecommitdiff
path: root/games/gnubg/gnubg.SlackBuild
diff options
context:
space:
mode:
authorErik Hanson <erik@slackbuilds.org>2010-05-12 17:39:18 +0200
committerChess Griffin <chess@slackbuilds.org>2010-05-12 17:39:18 +0200
commit5bde0c9828c28b383dbe923f4a1e13d691dc2f28 (patch)
tree2ac1d14aef9b14a158f8461f9925fae3be4ca113 /games/gnubg/gnubg.SlackBuild
parent46fa6f8bc26fd81f595f8f2430023b924f95f546 (diff)
downloadslackbuilds-5bde0c9828c28b383dbe923f4a1e13d691dc2f28.tar.gz
games/gnubg: Updated for version 0.90.0_20090501
Diffstat (limited to 'games/gnubg/gnubg.SlackBuild')
-rw-r--r--games/gnubg/gnubg.SlackBuild21
1 files changed, 10 insertions, 11 deletions
diff --git a/games/gnubg/gnubg.SlackBuild b/games/gnubg/gnubg.SlackBuild
index dd35d96bf8..9dfe82b285 100644
--- a/games/gnubg/gnubg.SlackBuild
+++ b/games/gnubg/gnubg.SlackBuild
@@ -1,11 +1,11 @@
-#!/bin/sh
+#!/bin/sh -eu
# Slackware build script for GNU Backgammon
# Written by Erik Hanson erik@slackbuilds.org
PRGNAM=gnubg
-VERSION=0.16
-SRCVER=20081013
+VERSION=0.90.0
+SRCVER=20090501
ARCH=${ARCH:-i486}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -25,14 +25,14 @@ fi
rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
-cd $TMP || exit 1
+cd $TMP
rm -rf $PRGNAM
-tar xvf $CWD/$PRGNAM-source-SNAPSHOT-$SRCVER.tar.gz || exit 1
-cd $PRGNAM || exit 1
+tar xvf $CWD/$PRGNAM-source-SNAPSHOT-$SRCVER.tar.gz
+cd $PRGNAM
chown -R root:root .
chmod -R u+w,go+r-w,a-s .
-./autogen.sh || exit 1
+./autogen.sh
CFLAGS="$SLKCFLAGS" \
./configure \
@@ -41,11 +41,10 @@ CFLAGS="$SLKCFLAGS" \
--localstatedir=/var/lib \
--mandir=/usr/man \
--docdir=/usr/doc/$PRGNAM-$VERSION \
- --build=$ARCH-slackware-linux \
- || exit 1
+ --build=$ARCH-slackware-linux
-make || exit 1
-make install-strip DESTDIR=$PKG || exit 1
+make
+make install-strip DESTDIR=$PKG
gzip -9 $PKG/usr/man/man?/*.?