aboutsummaryrefslogtreecommitdiff
path: root/games/angband/angband.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'games/angband/angband.SlackBuild')
-rw-r--r--games/angband/angband.SlackBuild8
1 files changed, 4 insertions, 4 deletions
diff --git a/games/angband/angband.SlackBuild b/games/angband/angband.SlackBuild
index d4e2051ff165..6c2b5a9b472e 100644
--- a/games/angband/angband.SlackBuild
+++ b/games/angband/angband.SlackBuild
@@ -59,10 +59,10 @@ set -e
rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
-rm -rf $TMP/$PRGNAM-master
+rm -rf $TMP/$PRGNAM-$VERSION
cd $TMP
tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
-cd $PRGNAM-master
+cd $PRGNAM-$VERSION
chown -R root:root .
find -L . \
\( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
@@ -81,7 +81,6 @@ LDFLAGS="-lSDL" \
--localstatedir=/var \
--bindir=/usr/games \
--docdir=/usr/doc/$PRGNAM-$VERSION \
- --with-setgid=games \
--build=$ARCH-slackware-linux \
make
@@ -92,9 +91,10 @@ find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | gr
find $PKG -name "delete.me" -exec rm -f {} \;
+mkdir -p $PKG/var/games/angband/archive
mkdir -p $PKG/var/games/angband/save
mkdir -p $PKG/var/games/angband/scores
-chown -R root:games $PKG/var/games/angband
+mkdir -p $PKG/var/games/angband/user
mkdir -p $PKG/usr/share/{applications,pixmaps}
cp $CWD/angband.png $PKG/usr/share/pixmaps