aboutsummaryrefslogtreecommitdiff
path: root/games/stone_soup
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
parent329a748e6700053f50d994a1516f2c66cc4af428 (diff)
games/stone_soup: Updated for version 0.16.1.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'games/stone_soup')
-rw-r--r--games/stone_soup/README2
-rw-r--r--games/stone_soup/stone_soup.SlackBuild26
-rw-r--r--games/stone_soup/stone_soup.desktop8
-rw-r--r--games/stone_soup/stone_soup.info8
-rw-r--r--games/stone_soup/stone_soup_icon-32x32.pngbin0 -> 579 bytes
5 files changed, 33 insertions, 11 deletions
diff --git a/games/stone_soup/README b/games/stone_soup/README
index 91453bcac9fd..39e418c000a6 100644
--- a/games/stone_soup/README
+++ b/games/stone_soup/README
@@ -3,5 +3,3 @@ involving characters of diverse skills, worshipping deities of great power and
caprice. To win, you'll need to be a master of tactics and strategy, and
prevail against overwhelming odds.
-A graphics version is available, which can be compiled by
-GUI=yes stone_soup.SlackBuild.
diff --git a/games/stone_soup/stone_soup.SlackBuild b/games/stone_soup/stone_soup.SlackBuild
index 79d53216b591..f1057c772320 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/
diff --git a/games/stone_soup/stone_soup.desktop b/games/stone_soup/stone_soup.desktop
new file mode 100644
index 000000000000..409b16bfb8bc
--- /dev/null
+++ b/games/stone_soup/stone_soup.desktop
@@ -0,0 +1,8 @@
+[Desktop Entry]
+Name=Dungeon Crawl Stone Soup
+Comment=Rescue the mystifyingly fabulous Orb of Zot
+Exec=crawl
+Terminal=true
+Type=Application
+Categories=Game;
+Icon=stone_soup_icon-32x32
diff --git a/games/stone_soup/stone_soup.info b/games/stone_soup/stone_soup.info
index 8e53675efa79..7d56fa116302 100644
--- a/games/stone_soup/stone_soup.info
+++ b/games/stone_soup/stone_soup.info
@@ -1,10 +1,10 @@
PRGNAM="stone_soup"
-VERSION="0.15.1"
+VERSION="0.16.1"
HOMEPAGE="http://crawl.develz.org/"
-DOWNLOAD="http://downloads.sourceforge.net/project/crawl-ref/Stone%20Soup/0.15.1/stone_soup-0.15.1-nodeps.tar.xz"
-MD5SUM="046990b82623ab7fd7c5cfbb6e816bcb"
+DOWNLOAD="http://crawl.develz.org/release/stone_soup-0.16.1-nodeps.tar.xz"
+MD5SUM="1758251f14fb9e874e49e2d1516c1e19"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
-REQUIRES="lua"
+REQUIRES="lua SDL2_image"
MAINTAINER="David Melik"
EMAIL="dchmelik@gmail.com"
diff --git a/games/stone_soup/stone_soup_icon-32x32.png b/games/stone_soup/stone_soup_icon-32x32.png
new file mode 100644
index 000000000000..726f4078dea0
--- /dev/null
+++ b/games/stone_soup/stone_soup_icon-32x32.png
Binary files differ