diff options
author | B. Watson <yalhcru@gmail.com> | 2017-03-02 16:13:01 -0500 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2017-03-04 07:26:50 +0700 |
commit | 6397dbf4291cb4e73e977419d1595cc2f100fc52 (patch) | |
tree | b1b8b3ceaee3285e598cfaf46f955f98841ff14f /games/wordwarvi | |
parent | a519a895b1e6288e5b4e6ade0e40048a83ef2f8d (diff) |
games/wordwarvi: Use long-format github URL, add .desktop.
Signed-off-by: B. Watson <yalhcru@gmail.com>
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 3365a4b430ade..9fba3c69d871e 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 0000000000000..5db69ac69dafa --- /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 7ef7c1be1a063..2ee105d5367a9 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="" |