diff options
Diffstat (limited to 'games/wordwarvi')
-rw-r--r-- | games/wordwarvi/wordwarvi.SlackBuild | 13 | ||||
-rw-r--r-- | games/wordwarvi/wordwarvi.desktop | 7 | ||||
-rw-r--r-- | games/wordwarvi/wordwarvi.info | 2 |
3 files changed, 15 insertions, 7 deletions
diff --git a/games/wordwarvi/wordwarvi.SlackBuild b/games/wordwarvi/wordwarvi.SlackBuild index 3365a4b430..9fba3c69d8 100644 --- a/games/wordwarvi/wordwarvi.SlackBuild +++ b/games/wordwarvi/wordwarvi.SlackBuild @@ -4,11 +4,13 @@ # Written by B. Watson (yalhcru@gmail.com) -# Licensed under the WTFPL. See http://sam.zoy.org/wtfpl/ for details. +# Licensed under the WTFPL. See http://www.wtfpl.net/txt/copying/ for details. + +# 20170302 bkw: use long-format github URL, add .desktop, BUILD=2 PRGNAM=wordwarvi VERSION=${VERSION:-1.0.2} -BUILD=${BUILD:-1} +BUILD=${BUILD:-2} TAG=${TAG:-_SBo} if [ -z "$ARCH" ]; then @@ -44,7 +46,7 @@ rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT cd $TMP rm -rf $PRGNAM-$VERSION -tar xvf $CWD/$PRGNAM-$VERSION.tar.gz || tar xvf $CWD/v$VERSION.tar.gz +tar xvf $CWD/$PRGNAM-$VERSION.tar.gz cd $PRGNAM-$VERSION chown -R root:root . find -L . \ @@ -57,10 +59,9 @@ make OPTIMIZE_FLAG="$SLKCFLAGS" MANDIR=/usr/man SCREENSAVERFLAG=-DDO_INHIBIT_SCR make install MANDIR=/usr/man DESTDIR=$PKG strip $PKG/usr/games/$PRGNAM -mkdir -p $PKG/usr/share/pixmaps +mkdir -p $PKG/usr/share/pixmaps $PKG/usr/share/applications cat icons/${PRGNAM}_icon_128x128.png > $PKG/usr/share/pixmaps/$PRGNAM.png - -# TODO: .desktop +cat $CWD/$PRGNAM.desktop > $PKG/usr/share/applications/$PRGNAM.desktop mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION cp -a *.png *.txt *.html AUTHORS COPYING README $PKG/usr/doc/$PRGNAM-$VERSION diff --git a/games/wordwarvi/wordwarvi.desktop b/games/wordwarvi/wordwarvi.desktop new file mode 100644 index 0000000000..5db69ac69d --- /dev/null +++ b/games/wordwarvi/wordwarvi.desktop @@ -0,0 +1,7 @@ +[Desktop Entry] +Name=Word War VI +Type=Application +Categories=Game;ArcadeGame; +Exec=wordwarvi %F +TryExec=wordwarvi +Icon=wordwarvi diff --git a/games/wordwarvi/wordwarvi.info b/games/wordwarvi/wordwarvi.info index 7ef7c1be1a..2ee105d536 100644 --- a/games/wordwarvi/wordwarvi.info +++ b/games/wordwarvi/wordwarvi.info @@ -1,7 +1,7 @@ PRGNAM="wordwarvi" VERSION="1.0.2" HOMEPAGE="https://github.com/smcameron/wordwarvi" -DOWNLOAD="https://github.com/smcameron/wordwarvi/archive/v1.0.2.tar.gz" +DOWNLOAD="https://github.com/smcameron/wordwarvi/archive/v1.0.2/wordwarvi-1.0.2.tar.gz" MD5SUM="c55fad24f42ad2be0e06ac70f5fbc0be" DOWNLOAD_x86_64="" MD5SUM_x86_64="" |