diff options
author | B. Watson <yalhcru@gmail.com> | 2018-09-15 21:58:06 -0400 |
---|---|---|
committer | David Spencer <idlemoor@slackbuilds.org> | 2018-09-21 23:51:08 +0100 |
commit | 8d38bae73b6959d1618b9ed1db6f5c50f84df62d (patch) | |
tree | f82dc70a095967bd7b32328ade8ecbcf2221290a /games | |
parent | 07c0dfd0327d2ac88d5f7780c5afaf44bf8b455d (diff) | |
download | slackbuilds-8d38bae73b6959d1618b9ed1db6f5c50f84df62d.tar.gz |
games/stratagus: Updated for version 2.4.1.
Signed-off-by: B. Watson <yalhcru@gmail.com>
Diffstat (limited to 'games')
-rw-r--r-- | games/stratagus/stratagus.SlackBuild | 21 | ||||
-rw-r--r-- | games/stratagus/stratagus.info | 8 |
2 files changed, 15 insertions, 14 deletions
diff --git a/games/stratagus/stratagus.SlackBuild b/games/stratagus/stratagus.SlackBuild index 16c7f4ceab..09450f4443 100644 --- a/games/stratagus/stratagus.SlackBuild +++ b/games/stratagus/stratagus.SlackBuild @@ -25,8 +25,10 @@ # want to play with it, add -DENABLE_TOUCHSCREEN=ON in the cmake # command below. +# 20180915 bkw: updated for v2.4.1 + PRGNAM=stratagus -VERSION=${VERSION:-2.3.0} +VERSION=${VERSION:-2.4.1} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} @@ -62,15 +64,12 @@ set -e rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT cd $TMP -rm -rf ${PRGNAM}_${VERSION}.orig -tar xvf $CWD/${PRGNAM}_${VERSION}.orig.tar.gz -cd ${PRGNAM}_${VERSION}.orig +rm -rf $PRGNAM-$VERSION +tar xvf $CWD/$PRGNAM-$VERSION.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 \ - -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 {} \; +find -L . -perm /111 -a \! -perm 755 -a -exec chmod 755 {} \+ -o \ + \! -perm /111 -a \! -perm 644 -a -exec chmod 644 {} \+ # -DDOCDIR isn't 100% respected, some of the docs end up in hardcoded # share/doc/$PRGNAM, so: @@ -82,6 +81,8 @@ cd build -DENABLE_DOC=ON \ -DENABLE_DEV=ON \ -DENABLE_STRIP=ON \ + -DBINDIR=/usr/games \ + -DGAMEDIR=/usr/games \ -DCMAKE_C_FLAGS:STRING="$SLKCFLAGS" \ -DCMAKE_CXX_FLAGS:STRING="$SLKCFLAGS" \ -DCMAKE_INSTALL_PREFIX=/usr \ @@ -98,7 +99,7 @@ rm -f $PKG/usr/include/*.nsi gzip -9 $PKG/usr/man/man6/$PRGNAM.6 mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION -cp -a README COPYING $PKG/usr/doc/$PRGNAM-$VERSION +cp -a README* COPYING $PKG/usr/doc/$PRGNAM-$VERSION cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild mkdir -p $PKG/install diff --git a/games/stratagus/stratagus.info b/games/stratagus/stratagus.info index 82cf23c527..e86bc61b48 100644 --- a/games/stratagus/stratagus.info +++ b/games/stratagus/stratagus.info @@ -1,8 +1,8 @@ PRGNAM="stratagus" -VERSION="2.3.0" -HOMEPAGE="http://stratagus.com/" -DOWNLOAD="https://launchpad.net/stratagus/trunk/2.3/+download/stratagus_2.3.0.orig.tar.gz" -MD5SUM="bf64b87f387c8281350e4b54327bc95f" +VERSION="2.4.1" +HOMEPAGE="https://github.com/Wargus/stratagus" +DOWNLOAD="https://github.com/Wargus/stratagus/archive/v2.4.1/stratagus-2.4.1.tar.gz" +MD5SUM="ad8d49e4e19d8de49b5a8241d1b0ab7b" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="tolua++ libmikmod fluidsynth" |