aboutsummaryrefslogtreecommitdiff
path: root/games
diff options
context:
space:
mode:
authorWilly Sudiarto Raharjo <willysr@slackbuilds.org>2017-04-17 11:14:48 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2017-04-20 20:19:25 +0700
commit896f8917fa863f4cb649e7681db21001dde465c8 (patch)
tree30b5e36514ef22334ada0cfa35acc72079cdffd0 /games
parent8cbee5f36c42bd2707897067078a102e6795b541 (diff)
games/gnubg: Updated for version 1.05.000.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'games')
-rw-r--r--games/gnubg/gnubg.SlackBuild18
-rw-r--r--games/gnubg/gnubg.info6
2 files changed, 9 insertions, 15 deletions
diff --git a/games/gnubg/gnubg.SlackBuild b/games/gnubg/gnubg.SlackBuild
index bb9a5e25864f0..2e987b81250df 100644
--- a/games/gnubg/gnubg.SlackBuild
+++ b/games/gnubg/gnubg.SlackBuild
@@ -23,8 +23,7 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=gnubg
-VERSION=${VERSION:-0.90.0}
-SRCVER=${SRCVER:-20130318}
+VERSION=${VERSION:-1.05.000}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -60,10 +59,9 @@ set -eu
rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
-rm -rf $PRGNAM
-mkdir $PRGNAM
-tar -C $PRGNAM -xvf $CWD/$PRGNAM-source-SNAPSHOT-$SRCVER.tar.gz
-cd $PRGNAM
+rm -rf $PRGNAM-$VERSION
+tar -xvf $CWD/$PRGNAM-release-$VERSION-sources.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 \
@@ -86,13 +84,9 @@ CFLAGS="$SLKCFLAGS" \
make
make install-strip DESTDIR=$PKG
-gzip -9 $PKG/usr/man/man?/*.?
-
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-mv $PKG/usr/share/doc/gnubg/* $PKG/usr/doc/$PRGNAM-$VERSION
-rmdir $PKG/usr/share/{doc/gnubg,doc}
ln -s /usr/doc/$PRGNAM-$VERSION $PKG/usr/doc/gnubg
-cp -a AUTHORS CODING COPYING ChangeLog INSTALL NEWS README TODO \
+cp -a AUTHORS COPYING ChangeLog INSTALL NEWS README TODO \
$PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
@@ -104,4 +98,4 @@ cat $CWD/doinst.sh > $PKG/install/doinst.sh
cat $CWD/slack-desc > $PKG/install/slack-desc
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-${VERSION}_${SRCVER}-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
diff --git a/games/gnubg/gnubg.info b/games/gnubg/gnubg.info
index 28cc508f18cbf..1177b1233d69c 100644
--- a/games/gnubg/gnubg.info
+++ b/games/gnubg/gnubg.info
@@ -1,8 +1,8 @@
PRGNAM="gnubg"
-VERSION="0.90.0_20130318"
+VERSION="1.05.000"
HOMEPAGE="http://www.gnubg.org/"
-DOWNLOAD="http://files.gnubg.org/media/sources/gnubg-source-SNAPSHOT-20130318.tar.gz"
-MD5SUM="566174741b1ecfc36debc95803312db4"
+DOWNLOAD="http://gnubg.org/media/sources/gnubg-release-1.05.000-sources.tar.gz"
+MD5SUM="2c2d291deedcb72d1fcbbd8faf90d55c"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""