summaryrefslogtreecommitdiff
path: root/games/xaos/xaos.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'games/xaos/xaos.SlackBuild')
-rw-r--r--games/xaos/xaos.SlackBuild15
1 files changed, 10 insertions, 5 deletions
diff --git a/games/xaos/xaos.SlackBuild b/games/xaos/xaos.SlackBuild
index d1d6aa611d..88d49046e2 100644
--- a/games/xaos/xaos.SlackBuild
+++ b/games/xaos/xaos.SlackBuild
@@ -23,16 +23,15 @@
# the asm code is (or should be) faster, but the option is there if you
# want to use it anyway.
#
-# Multilib (Slamd64) users also have the option of building on a 32-bit
-# Slackware system (or in a chroot) and the resulting package will run
-# just fine on 64-bit.
+# Multilib users also have the option of building on a 32-bit Slackware system
+# (or in a chroot) and the resulting package will run just fine on 64-bit.
#
# If the preceding didn't make any sense, here's the bottom line:
#
# - Regular Slackware (x86) users can just run this script and ignore the junk
# above.
#
-# - Everyone else (Slamd64, Bluewhite64, Slackintosh, ???) can just
+# - Everyone else (Slamd64, Bluewhite64, Slackware64, ???) can just
# run this script and probably never notice the missing functionality.
#
# - If you're not on x86, but you want the formula evaluator, install GSL
@@ -94,8 +93,14 @@ mkdir -p $PKG/usr/doc
mv $PKG/usr/share/$APPNAM/doc $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
+mkdir -p $PKG/usr/share/applications
+cat $CWD/$PRGNAM.desktop > $PKG/usr/share/applications/$PRGNAM.desktop
+
+mkdir -p $PKG/usr/share/pixmaps
+cat $CWD/$PRGNAM.png > $PKG/usr/share/pixmaps/$PRGNAM.png
+
mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.tgz
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}