mirror of
https://github.com/Ponce/slackbuilds
synced 2024-11-26 22:06:35 +01:00
games/gnubg: Updated for version 1.05.000.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
parent
8cbee5f36c
commit
896f8917fa
2 changed files with 9 additions and 15 deletions
|
@ -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}
|
||||
|
|
|
@ -1,8 +1,8 @@
|
|||
PRGNAM="gnubg"
|
||||
VERSION="0.90.0_20130318"
|
||||
VERSION="1.05.000"
|
||||
HOMEPAGE="http://www.gnubg.org/"
|
||||
DOWNLOAD="http://files.gnubg.org/media/sources/gnubg-source-SNAPSHOT-20130318.tar.gz"
|
||||
MD5SUM="566174741b1ecfc36debc95803312db4"
|
||||
DOWNLOAD="http://gnubg.org/media/sources/gnubg-release-1.05.000-sources.tar.gz"
|
||||
MD5SUM="2c2d291deedcb72d1fcbbd8faf90d55c"
|
||||
DOWNLOAD_x86_64=""
|
||||
MD5SUM_x86_64=""
|
||||
REQUIRES=""
|
||||
|
|
Loading…
Reference in a new issue