summaryrefslogtreecommitdiff
path: root/games
diff options
context:
space:
mode:
authorWilly Sudiarto Raharjo <willysr@slackbuilds.org>2016-02-06 01:12:30 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2016-02-06 03:36:47 +0700
commit35e27e5dd3fd385c15f16e4785e19e9d06cc690b (patch)
treeb11301529bac9dd0a81815d68c0e0e29e6deaf9c /games
parent6971fc98eee1794cb4aae4a37f14e29463ce7dc0 (diff)
downloadslackbuilds-35e27e5dd3fd385c15f16e4785e19e9d06cc690b.tar.gz
games/ckmame: Updated for version 0.12.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'games')
-rw-r--r--games/ckmame/ckmame.SlackBuild13
-rw-r--r--games/ckmame/ckmame.info6
2 files changed, 9 insertions, 10 deletions
diff --git a/games/ckmame/ckmame.SlackBuild b/games/ckmame/ckmame.SlackBuild
index cfe7b46eec..d1904dd7e8 100644
--- a/games/ckmame/ckmame.SlackBuild
+++ b/games/ckmame/ckmame.SlackBuild
@@ -23,7 +23,7 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=ckmame
-VERSION=0.11
+VERSION=${VERSION:-0.12}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -54,14 +54,14 @@ rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
rm -rf $PRGNAM-$VERSION
-tar xvf $CWD/$PRGNAM-$VERSION.tar.bz2
+tar xvf $CWD/$PRGNAM-$VERSION.tar.xz
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 640 -o -perm 600 -o -perm 444 \
- -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
+ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
@@ -76,12 +76,11 @@ sed -i -e "s#/share/doc/ckmame#/doc/$PRGNAM-$VERSION#" docs/Makefile
make
make install-strip DESTDIR=$PKG
-find $PKG/usr/man -type f -exec gzip -9 {} \;
-for i in $(find $PKG/usr/man -type l) ; do ln -s $(readlink $i).gz $i.gz ; rm $i ; done
+# these are all empty man files
+rm -rf $PKG/usr/man
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp -a AUTHORS INSTALL NEWS README THANKS TODO \
- $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a AUTHORS INSTALL NEWS README THANKS TODO $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
mkdir -p $PKG/install
diff --git a/games/ckmame/ckmame.info b/games/ckmame/ckmame.info
index 7711097fe5..e50508f32f 100644
--- a/games/ckmame/ckmame.info
+++ b/games/ckmame/ckmame.info
@@ -1,8 +1,8 @@
PRGNAM="ckmame"
-VERSION="0.11"
+VERSION="0.12"
HOMEPAGE="http://nih.at/ckmame/"
-DOWNLOAD="http://nih.at/ckmame/ckmame-0.11.tar.bz2"
-MD5SUM="e41e8f81d5051eb074137f8a41f9e007"
+DOWNLOAD="http://nih.at/ckmame/ckmame-0.12.tar.xz"
+MD5SUM="695c32e02f835e552e7ccb2291a21534"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""