diff options
Diffstat (limited to '')
-rwxr-xr-x | abuse_sdl/build/abuse_sdl.SlackBuild | 14 |
1 files changed, 5 insertions, 9 deletions
diff --git a/abuse_sdl/build/abuse_sdl.SlackBuild b/abuse_sdl/build/abuse_sdl.SlackBuild index 5fa4bf2f..4f6cc15a 100755 --- a/abuse_sdl/build/abuse_sdl.SlackBuild +++ b/abuse_sdl/build/abuse_sdl.SlackBuild @@ -149,15 +149,7 @@ echo "++" echo "|| $PRGNAM-$VERSION" echo "++" -# Explode the package framework: -if [ -f $SRCDIR/_$PRGNAM.tar.gz ]; then - cd $PKG - explodepkg $SRCDIR/_$PRGNAM.tar.gz - cd - -fi - cd $TMP/tmp-$PRGNAM - echo "Extracting the source archive(s) for $PRGNAM..." if $(file ${SOURCE[0]} | grep -q ": bzip2"); then tar -xjvf ${SOURCE[0]} @@ -193,7 +185,11 @@ else make DESTDIR=$PKG install 2>&1 |tee $OUTPUT/install-${PRGNAM}.log fi -# Copy in the game's datafiles +# Add a .desktop file: +mkdir -p $PKG/usr/share/applications +cp $SRCDIR/{PRGNAM}.desktop $PKG/usr/share/applications/ + +# Copy in the game's datafiles: mkdir -p $PKG/usr/share/games/abuse tar -C $PKG/usr/share/games/abuse/ -zxvf ${SOURCE[1]} chown -R root:root $PKG/usr/share/games/abuse/ |