diff options
author | Dugan Chen <thedoogster [at] gmail [dot] com> | 2016-08-17 23:24:47 +0700 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2016-08-20 07:49:48 +0700 |
commit | ac23335a6a657ba2391b028bcb394e97d92dc76c (patch) | |
tree | 3df5251b3fc95a941facc8dae9297a44eb838f23 /games/doomretro/doomretro.SlackBuild | |
parent | b95ba190736ca02600c37c6d183d310a5331dd27 (diff) |
games/doomretro: Adds the .desktop file and icon.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'games/doomretro/doomretro.SlackBuild')
-rw-r--r-- | games/doomretro/doomretro.SlackBuild | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/games/doomretro/doomretro.SlackBuild b/games/doomretro/doomretro.SlackBuild index 0c1a48316167..f8573ada3b1c 100644 --- a/games/doomretro/doomretro.SlackBuild +++ b/games/doomretro/doomretro.SlackBuild @@ -24,7 +24,7 @@ PRGNAM=doomretro VERSION=${VERSION:-2.2.4} -BUILD=${BUILD:-1} +BUILD=${BUILD:-2} TAG=${TAG:-_SBo} if [ -z "$ARCH" ]; then @@ -82,6 +82,12 @@ cd .. find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \ | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true +mkdir -p $PKG/usr/share/applications +cat $CWD/$PRGNAM.desktop > $PKG/usr/share/applications/$PRGNAM.desktop + +mkdir -p $PKG/usr/share/pixmaps +convert res/$PRGNAM.ico[1] $PKG/usr/share/pixmaps/$PRGNAM.png + mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION cp -a \ AUTHORS LICENSE README.md \ @@ -90,6 +96,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} |