graphics/gnofract4d: Update .info and script.

Signed-off-by: Dimitris Zlatanidis <d.zlatanidis@gmail.com>
This commit is contained in:
Dimitris Zlatanidis 2015-09-20 06:02:14 +03:00 committed by Willy Sudiarto Raharjo
parent 9f89fe8837
commit 6b5b296498
2 changed files with 11 additions and 11 deletions

View file

@ -2,7 +2,7 @@
# Slackware build script for gnofract4d
# Copyright 2014 Dimitris Zlatanidis Greece-Orestiada
# Copyright 2014-2015 Dimitris Zlatanidis Orestiada, Greece
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@ -23,8 +23,9 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=gnofract4d
VERSION=${VERSION:-3.14.1}
BUILD=${BUILD:-1}
SRCVER=${SRCVER:-V_3_14_1}
VERSION=$(echo $SRCVER | tr _ . | cut -c3-8)
BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
if [ -z "$ARCH" ]; then
@ -59,9 +60,9 @@ set -e
rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
rm -rf $PRGNAM-$VERSION
tar xvf $CWD/$PRGNAM-$VERSION.tar.bz2
cd $PRGNAM-$VERSION
rm -rf $PRGNAM-$SRCVER
tar xvf $CWD/$PRGNAM-$SRCVER.tar.gz || tar xvf $CWD/$SRCVER.tar.gz
cd $PRGNAM-$SRCVER
chown -R root:root .
find -L . \
\( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
@ -81,8 +82,7 @@ find $PKG/usr/man -type f -name "*.?" -exec gzip -9f {} \;
rm -rf $PKG/usr/share/doc
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a COPYING PKG-INFO README doc/* \
$PKG/usr/doc/$PRGNAM-$VERSION
cp -a COPYING README Todo $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild

View file

@ -1,8 +1,8 @@
PRGNAM="gnofract4d"
VERSION="3.14.1"
HOMEPAGE="http://gnofract4d.sourceforge.net/"
DOWNLOAD="http://sourceforge.net/projects/gnofract4d/files/gnofract4d/3.14.1/gnofract4d-3.14.1.tar.bz2"
MD5SUM="db12eabcf5bece42c037fb9937f9b0af"
HOMEPAGE="https://github.com/edyoung/gnofract4d"
DOWNLOAD="https://github.com/edyoung/gnofract4d/archive/V_3_14_1.tar.gz"
MD5SUM="0872b6acefa9123205e099c9e174a791"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""