summaryrefslogtreecommitdiff
path: root/games/gnubg
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
parent46fa6f8bc26fd81f595f8f2430023b924f95f546 (diff)
downloadslackbuilds-5bde0c9828c28b383dbe923f4a1e13d691dc2f28.tar.gz
games/gnubg: Updated for version 0.90.0_20090501
Diffstat (limited to 'games/gnubg')
-rw-r--r--games/gnubg/README4
-rw-r--r--games/gnubg/doinst.sh9
-rw-r--r--games/gnubg/gnubg.SlackBuild21
-rw-r--r--games/gnubg/gnubg.info8
4 files changed, 23 insertions, 19 deletions
diff --git a/games/gnubg/README b/games/gnubg/README
index f93d82a6e5..03639b5888 100644
--- a/games/gnubg/README
+++ b/games/gnubg/README
@@ -22,6 +22,4 @@ about 1900.
You may play GNU Backgammon using the command line or a graphical interface
(based on GTK+). For 3D Boards support you will need the GTK OpenGL
-extension (gtkglext) available at SlackBuilds.org. gstreamer and sqlite
-are also optional dependencies, and will be detected automatically if they
-are installed.
+extension (gtkglext) available at SlackBuilds.org.
diff --git a/games/gnubg/doinst.sh b/games/gnubg/doinst.sh
index 02b89b3fe3..9f1846bc38 100644
--- a/games/gnubg/doinst.sh
+++ b/games/gnubg/doinst.sh
@@ -1,3 +1,10 @@
if [ -x /usr/bin/update-desktop-database ]; then
- /usr/bin/update-desktop-database ./usr/share/applications &> /dev/null
+ /usr/bin/update-desktop-database -q usr/share/applications &> /dev/null
fi
+
+if [ -e usr/share/icons/hicolor/icon-theme.cache ]; then
+ if [ -x /usr/bin/gtk-update-icon-cache ]; then
+ /usr/bin/gtk-update-icon-cache usr/share/icons/hicolor >/dev/null 2>&1
+ fi
+fi
+
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?/*.?
diff --git a/games/gnubg/gnubg.info b/games/gnubg/gnubg.info
index 2b3ebf13c3..8a88352a98 100644
--- a/games/gnubg/gnubg.info
+++ b/games/gnubg/gnubg.info
@@ -1,8 +1,8 @@
PRGNAM="gnubg"
-VERSION="0.16_20081013"
+VERSION="0.90.0_20090501"
HOMEPAGE="http://www.gnubg.org/"
-DOWNLOAD="http://www.gnubg.org/media/sources/gnubg-source-SNAPSHOT-20081013.tar.gz"
-MD5SUM="a18ac8b63557a8249cd4131668e6efa3"
+DOWNLOAD="http://www.gnubg.org/media/sources/gnubg-source-SNAPSHOT-20090501.tar.gz"
+MD5SUM="3c305183ae4d785d61fe5ae8c02d3d8c"
MAINTAINER="Erik Hanson"
EMAIL="erik@slackbuilds.org"
-APPROVED="rworkman"
+APPROVED="chess"