mirror of
https://github.com/Ponce/slackbuilds
synced 2024-11-24 10:02:29 +01:00
games/tome: Updated for version v2.3.11_ah.
Signed-off-by: Matteo Bernardini <ponce@slackbuilds.org>
This commit is contained in:
parent
ee936c7505
commit
9ba49d484c
2 changed files with 9 additions and 9 deletions
|
@ -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
|
||||
|
|
|
@ -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=""
|
||||
|
|
Loading…
Reference in a new issue