diff options
Diffstat (limited to 'games/stone_soup/stone_soup.SlackBuild')
-rw-r--r-- | games/stone_soup/stone_soup.SlackBuild | 26 |
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/ |