diff options
author | pyllyukko <pyllyukko AT maimed dot org> | 2015-10-25 08:28:43 +0700 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2015-10-25 10:04:50 +0700 |
commit | ad9e87a9db2eafb5eb4b93fc1d4340967d21a8fa (patch) | |
tree | 9ee2164537ff30bd2d21a42a3261ee22cc40f05d /games/adom/adom.SlackBuild | |
parent | e658f6c341e1e6c67af5166715a18530bb620ef3 (diff) | |
download | slackbuilds-ad9e87a9db2eafb5eb4b93fc1d4340967d21a8fa.tar.gz |
games/adom: Updated for version r60.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'games/adom/adom.SlackBuild')
-rw-r--r-- | games/adom/adom.SlackBuild | 13 |
1 files changed, 10 insertions, 3 deletions
diff --git a/games/adom/adom.SlackBuild b/games/adom/adom.SlackBuild index 3698e2926f..9bd43b75b9 100644 --- a/games/adom/adom.SlackBuild +++ b/games/adom/adom.SlackBuild @@ -7,7 +7,7 @@ # in a clean .tgz package, ready to be installed. PRGNAM=adom -VERSION=${VERSION:-1.2.0_pre23} +VERSION=${VERSION:-r60} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} @@ -41,7 +41,7 @@ rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT cd $TMP rm -rf $PRGNAM -tar xvf $CWD/${PRGNAM}_linux_debian_${ARCHBITS}_${VERSION}.tar.gz +tar xvf $CWD/${PRGNAM}_linux_debian_${ARCHBITS}_${VERSION}_pub.tar.gz cd $PRGNAM chown -R root:root . find -L . \ @@ -50,7 +50,13 @@ find -L . \ \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; -install -m 0755 -D $PRGNAM $PKG/usr/games/$PRGNAM +install -m 2755 -D -g games $PRGNAM $PKG/usr/games/$PRGNAM +install -m 0644 -D ${CWD}/adom_ds.cfg ${PKG}/etc/adom_ds.cfg.new +install -m 0775 -D -g games -d ${PKG}/var/lib/adom +# we create the HISCORE file here, so that it's not created and owned by the first user to run adom. +touch ${PKG}/var/lib/adom/HISCORE.new +chown -c root:games ${PKG}/var/lib/adom/HISCORE.new +chmod -c 664 ${PKG}/var/lib/adom/HISCORE.new mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION cp -a docs/{adomfaq.txt,credits.txt,manual.txt,readme1st.txt} licenses \ @@ -59,6 +65,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} |