mirror of
https://github.com/Ponce/slackbuilds
synced 2024-11-26 22:06:35 +01:00
games/angband: Update script.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
parent
867ee707b4
commit
74e76dba61
2 changed files with 5 additions and 5 deletions
|
@ -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
|
||||
|
|
|
@ -2,7 +2,7 @@ PRGNAM="angband"
|
|||
VERSION="4.1.0"
|
||||
HOMEPAGE="http://www.rephial.org/"
|
||||
DOWNLOAD="http://rephial.org/downloads/4.1/angband-4.1.0.tar.gz"
|
||||
MD5SUM="c54f7364d58ea2216b188afcbaa40a66"
|
||||
MD5SUM="c0cf0136a1f3c0597d36e0f9a4b9d067"
|
||||
DOWNLOAD_x86_64=""
|
||||
MD5SUM_x86_64=""
|
||||
REQUIRES=""
|
||||
|
|
Loading…
Reference in a new issue