summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Melik <dchmelik@gmail.com>2012-12-17 07:43:31 +0100
committerMatteo Bernardini <ponce@slackbuilds.org>2012-12-17 07:43:56 +0100
commit528caab66f31c8e9960d0c6494736c83c431716c (patch)
tree80022fd9853f5b7c65bc325cac66401aebf3dfc5
parent0544f3989f61b7f5293ab7a6142ea7f1ff548cc5 (diff)
downloadslackbuilds-528caab66f31c8e9960d0c6494736c83c431716c.tar.gz
games/stone_soup: Updated for version 0.11.0.
Signed-off-by: Matteo Bernardini <ponce@slackbuilds.org>
-rw-r--r--games/stone_soup/doinst.sh3
-rw-r--r--games/stone_soup/stone_soup.SlackBuild7
-rw-r--r--games/stone_soup/stone_soup.info6
3 files changed, 9 insertions, 7 deletions
diff --git a/games/stone_soup/doinst.sh b/games/stone_soup/doinst.sh
new file mode 100644
index 0000000000..5fb28930db
--- /dev/null
+++ b/games/stone_soup/doinst.sh
@@ -0,0 +1,3 @@
+if [ -x /usr/bin/update-desktop-database ]; then
+ /usr/bin/update-desktop-database -q usr/share/applications >/dev/null 2>&1
+fi
diff --git a/games/stone_soup/stone_soup.SlackBuild b/games/stone_soup/stone_soup.SlackBuild
index a1bf41b2e4..4db6d9fa27 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.10.3}
+VERSION=${VERSION:-0.11.0}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -67,9 +67,7 @@ find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | gr
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
mkdir -p $PKG/usr/man/man6
-cp docs/crawl.6 $PKG/usr/man/man6
-gzip $PKG/usr/man/man6/crawl.6
-
+gzip -9 -c docs/crawl.6 > $PKG/usr/man/man6/crawl.6.gz
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
mv $PKG/usr/share/games/crawl/docs/* $PKG/usr/doc/$PRGNAM-$VERSION
@@ -78,6 +76,7 @@ cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
+cat $CWD/doinst.sh > $PKG/install/doinst.sh
cd $PKG
/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
diff --git a/games/stone_soup/stone_soup.info b/games/stone_soup/stone_soup.info
index a9e6413740..08c75b6fdb 100644
--- a/games/stone_soup/stone_soup.info
+++ b/games/stone_soup/stone_soup.info
@@ -1,8 +1,8 @@
PRGNAM="stone_soup"
-VERSION="0.10.3"
+VERSION="0.11.0"
HOMEPAGE="http://crawl.develz.org/"
-DOWNLOAD="http://sourceforge.net/projects/crawl-ref/files/Stone%20Soup/0.10.3/stone_soup-0.10.3.tar.xz"
-MD5SUM="bf1183a44a0d3dbe39c8a2b38749ace1"
+DOWNLOAD="http://downloads.sourceforge.net/crawl-ref/stone_soup-0.11.0.tar.xz"
+MD5SUM="1685114032458a426553fab38282760a"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES="lua"