diff options
author | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2016-02-06 01:12:30 +0700 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2016-02-06 03:36:47 +0700 |
commit | 35e27e5dd3fd385c15f16e4785e19e9d06cc690b (patch) | |
tree | b11301529bac9dd0a81815d68c0e0e29e6deaf9c /games/ckmame/ckmame.SlackBuild | |
parent | 6971fc98eee1794cb4aae4a37f14e29463ce7dc0 (diff) |
games/ckmame: Updated for version 0.12.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'games/ckmame/ckmame.SlackBuild')
-rw-r--r-- | games/ckmame/ckmame.SlackBuild | 13 |
1 files changed, 6 insertions, 7 deletions
diff --git a/games/ckmame/ckmame.SlackBuild b/games/ckmame/ckmame.SlackBuild index cfe7b46eec69..d1904dd7e8e5 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 |