diff options
Diffstat (limited to 'games/tome')
-rw-r--r-- | games/tome/tome.SlackBuild | 12 | ||||
-rw-r--r-- | games/tome/tome.info | 6 |
2 files changed, 9 insertions, 9 deletions
diff --git a/games/tome/tome.SlackBuild b/games/tome/tome.SlackBuild index b15e84c02d..be1ce9a07f 100644 --- a/games/tome/tome.SlackBuild +++ b/games/tome/tome.SlackBuild @@ -7,7 +7,8 @@ # Partly based on Marshall Scott's Angband SlackBuild. PRGNAM=tome -VERSION=${VERSION:-v2.3.10_ah} +VERSION=${VERSION:-v2.3.11_ah} +SRCVER=$(echo $VERSION | tr _ -) BUILD=${BUILD:-1} TAG=${TAG:-_SBo} @@ -43,9 +44,9 @@ set -e rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT cd $TMP -rm -rf $PRGNAM-$VERSION -tar xvf $CWD/$PRGNAM-$VERSION.tar.?z* -cd $PRGNAM-$VERSION +rm -rf tome2-tome2 +tar xvf $CWD/tome2-tome2-$SRCVER.tar.gz +cd tome2-tome2 chown -R root:root . find . \ \( -perm 777 -o -perm 775 -o -perm 711 -o -perm 555 -o -perm 511 \) \ @@ -60,7 +61,6 @@ cd build -DCMAKE_CXX_FLAGS:STRING="$SLKCFLAGS" \ -DCMAKE_INSTALL_PREFIX=/usr/share/games/$PRGNAM \ -DSYSTEM_INSTALL:BOOL=true \ - -DLIBS:STRING="-lm" \ -DCMAKE_BUILD_TYPE=Release .. make make install DESTDIR=$PKG @@ -68,7 +68,7 @@ cd - install -m 0755 $CWD/$PRGNAM.sh $PKG/usr/share/games/$PRGNAM/bin/$PRGNAM.sh mkdir -p $PKG/usr/games -ln -fs /usr/share/games/tome/bin/$PRGNAM.sh $PKG/usr/games/$PRGNAM +ln -fs /usr/share/games/$PRGNAM/bin/$PRGNAM.sh $PKG/usr/games/$PRGNAM find $PKG -name "delete.me" | xargs rm -f find $PKG -name ".cvsignore" | xargs rm -f diff --git a/games/tome/tome.info b/games/tome/tome.info index b174bbcebf..fb612e162d 100644 --- a/games/tome/tome.info +++ b/games/tome/tome.info @@ -1,8 +1,8 @@ PRGNAM="tome" -VERSION="v2.3.10_ah" +VERSION="v2.3.11_ah" HOMEPAGE="http://www.te4.org" -DOWNLOAD="http://ponce.cc/slackware/sources/repo/tome-v2.3.10_ah.tar.xz" -MD5SUM="bd77b8814e3eb0a5a3dfbf8379a0e2cd" +DOWNLOAD="http://ponce.cc/slackware/sources/repo/tome2-tome2-v2.3.11-ah.tar.gz" +MD5SUM="ae6d649600fb2d4eed09b46e4203af76" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="" |