diff options
Diffstat (limited to 'games/gnubg')
-rw-r--r-- | games/gnubg/README | 4 | ||||
-rw-r--r-- | games/gnubg/doinst.sh | 9 | ||||
-rw-r--r-- | games/gnubg/gnubg.SlackBuild | 21 | ||||
-rw-r--r-- | games/gnubg/gnubg.info | 8 |
4 files changed, 23 insertions, 19 deletions
diff --git a/games/gnubg/README b/games/gnubg/README index f93d82a6e5be9..03639b5888465 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 02b89b3fe3b5d..9f1846bc38ccf 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 dd35d96bf803a..9dfe82b285356 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 2b3ebf13c38d4..8a88352a9864a 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" |