summaryrefslogtreecommitdiff
path: root/academic/copasi/copasi.SlackBuild
diff options
context:
space:
mode:
authorPedro Mendes <pedro@gepasi.org>2016-11-30 20:51:14 +0000
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2016-12-03 07:17:45 +0700
commit004c02b09eddc21957004a908251de2e9926eaa4 (patch)
tree7f77dbdb218fe997151861c715b3eea9da745710 /academic/copasi/copasi.SlackBuild
parentd20e4d268ae7a2f370b7e80e3d4f70e0085a0921 (diff)
downloadslackbuilds-004c02b09eddc21957004a908251de2e9926eaa4.tar.gz
academic/copasi: Updated for version 4.18.136.
Signed-off-by: David Spencer <idlemoor@slackbuilds.org>
Diffstat (limited to 'academic/copasi/copasi.SlackBuild')
-rw-r--r--academic/copasi/copasi.SlackBuild15
1 files changed, 8 insertions, 7 deletions
diff --git a/academic/copasi/copasi.SlackBuild b/academic/copasi/copasi.SlackBuild
index 58752ab156..d1ccc96a61 100644
--- a/academic/copasi/copasi.SlackBuild
+++ b/academic/copasi/copasi.SlackBuild
@@ -23,7 +23,7 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=copasi
-VERSION=${VERSION:-4.17.135}
+VERSION=${VERSION:-4.18.136}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -43,7 +43,7 @@ if [ "$ARCH" = "i586" ]; then
elif [ "$ARCH" = "x86_64" ]; then
BINNAME="Linux-64bit"
else
- echo "$ARCH is not supported by the $PRGNAM build script."
+ echo "$ARCH is not supported by the $PRGNAM build script..."
exit 1
fi
@@ -55,15 +55,16 @@ set -e
rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
-rm -rf COPASI-$VERSION-$BINNAME
+rm -rf COPASI-$VERSION-$BINNAME $PRGNAM-$VERSION
tar xvf $CWD/COPASI-$VERSION-$BINNAME.tar.gz
-cd COPASI-$VERSION-$BINNAME
+mv COPASI-$VERSION-$BINNAME $PRGNAM-$VERSION
+cd $PRGNAM-$VERSION
chown -R root:root .
find -L . \
- \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
- -o -perm 511 \) -exec chmod 755 {} \; -o \
+ \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 -o -perm 511 \) \
+ -exec chmod 755 {} \; -o \
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
- -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
+ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
mkdir -p $PKG/usr/bin $PKG/usr/share/{copasi,pixmaps,applications}
cp -a bin/* $PKG/usr/bin/