summaryrefslogtreecommitdiff
path: root/games/stone_soup/stone_soup.SlackBuild
diff options
context:
space:
mode:
authorDavid Melik <dchmelik@gmail.com>2015-04-20 20:01:39 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2015-04-21 12:01:05 +0700
commitcdcefe831f2f136fa69680654ceae3d25106c908 (patch)
tree57443221decd2f26490b215fd0f1ca6ebf43945c /games/stone_soup/stone_soup.SlackBuild
parent329a748e6700053f50d994a1516f2c66cc4af428 (diff)
downloadslackbuilds-cdcefe831f2f136fa69680654ceae3d25106c908.tar.gz
games/stone_soup: Updated for version 0.16.1.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'games/stone_soup/stone_soup.SlackBuild')
-rw-r--r--games/stone_soup/stone_soup.SlackBuild26
1 files changed, 21 insertions, 5 deletions
diff --git a/games/stone_soup/stone_soup.SlackBuild b/games/stone_soup/stone_soup.SlackBuild
index 79d53216b5..f1057c7723 100644
--- a/games/stone_soup/stone_soup.SlackBuild
+++ b/games/stone_soup/stone_soup.SlackBuild
@@ -5,7 +5,7 @@
# Written by David Melik <dchmelik @ gmail dot com>
PRGNAM=stone_soup
-VERSION=${VERSION:-0.15.1}
+VERSION=${VERSION:-0.16.1}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -52,15 +52,27 @@ find -L . \
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
cd source
- make TILES=$GUI \
+ make $TARGET \
prefix=/usr \
+ COPY_FONTS=1 \
DATADIR=/usr/share/games/crawl \
- SAVEDIR=~/.crawl/
- make install TILES=$GUI \
+ SAVEDIR=~/.crawl/ \
+ SDL2=1 \
+ TILES=1
+ make $TARGET install \
prefix=/usr \
+ COPY_FONTS=1 \
DATADIR=/usr/share/games/crawl \
+ DESTDIR=$PKG \
SAVEDIR=~/.crawl/ \
- DESTDIR=$PKG
+ SDL2=1 \
+ TILES=1
+ make clean
+ make $TARGET \
+ prefix=/usr \
+ DATADIR=/usr/share/games/crawl \
+ SAVEDIR=~/.crawl/
+cp crawl $PKG/usr/games/crawl-ascii
cd ..
find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
@@ -69,6 +81,10 @@ find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | gr
mkdir -p $PKG/usr/man/man6
gzip -9 -c docs/crawl.6 > $PKG/usr/man/man6/crawl.6.gz
+mkdir -p $PKG/usr/share/{applications,pixmaps}
+cp $CWD/stone_soup_icon-32x32.png $PKG/usr/share/pixmaps
+cp $CWD/stone_soup.desktop $PKG/usr/share/applications
+
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -ar $PKG/usr/share/games/crawl/docs/* $PKG/usr/doc/$PRGNAM-$VERSION
cp README.txt $PKG/usr/share/games/crawl/