diff options
Diffstat (limited to 'games/gnubg/gnubg.SlackBuild')
-rw-r--r-- | games/gnubg/gnubg.SlackBuild | 18 |
1 files changed, 6 insertions, 12 deletions
diff --git a/games/gnubg/gnubg.SlackBuild b/games/gnubg/gnubg.SlackBuild index bb9a5e2586..2e987b8125 100644 --- a/games/gnubg/gnubg.SlackBuild +++ b/games/gnubg/gnubg.SlackBuild @@ -23,8 +23,7 @@ # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. PRGNAM=gnubg -VERSION=${VERSION:-0.90.0} -SRCVER=${SRCVER:-20130318} +VERSION=${VERSION:-1.05.000} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} @@ -60,10 +59,9 @@ set -eu rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT cd $TMP -rm -rf $PRGNAM -mkdir $PRGNAM -tar -C $PRGNAM -xvf $CWD/$PRGNAM-source-SNAPSHOT-$SRCVER.tar.gz -cd $PRGNAM +rm -rf $PRGNAM-$VERSION +tar -xvf $CWD/$PRGNAM-release-$VERSION-sources.tar.gz +cd $PRGNAM-$VERSION chown -R root:root . find -L . \ \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \ @@ -86,13 +84,9 @@ CFLAGS="$SLKCFLAGS" \ make make install-strip DESTDIR=$PKG -gzip -9 $PKG/usr/man/man?/*.? - mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION -mv $PKG/usr/share/doc/gnubg/* $PKG/usr/doc/$PRGNAM-$VERSION -rmdir $PKG/usr/share/{doc/gnubg,doc} ln -s /usr/doc/$PRGNAM-$VERSION $PKG/usr/doc/gnubg -cp -a AUTHORS CODING COPYING ChangeLog INSTALL NEWS README TODO \ +cp -a AUTHORS COPYING ChangeLog INSTALL NEWS README TODO \ $PKG/usr/doc/$PRGNAM-$VERSION cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild @@ -104,4 +98,4 @@ cat $CWD/doinst.sh > $PKG/install/doinst.sh cat $CWD/slack-desc > $PKG/install/slack-desc cd $PKG -/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-${VERSION}_${SRCVER}-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz} +/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz} |