summaryrefslogtreecommitdiff
path: root/academic/copasi/copasi.SlackBuild
diff options
context:
space:
mode:
authorWilly Sudiarto Raharjo <willysr@slackware-id.org>2013-11-05 12:33:04 +0700
committerRobby Workman <rworkman@slackbuilds.org>2013-11-05 18:53:45 -0600
commit2d59a993f8c9a72b5a549c794b9b0d57c1fbe665 (patch)
treec4aa3d3c62ab0dcaceb87655ad2a53abf68f6ba5 /academic/copasi/copasi.SlackBuild
parentacae255dc8aa2944dca84a63d5ba1c0ec2637a14 (diff)
downloadslackbuilds-2d59a993f8c9a72b5a549c794b9b0d57c1fbe665.tar.gz
academic/copasi: Updated for version 4.11.65.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackware-id.org> Signed-off-by: Robby Workman <rworkman@slackbuilds.org>
Diffstat (limited to 'academic/copasi/copasi.SlackBuild')
-rw-r--r--academic/copasi/copasi.SlackBuild8
1 files changed, 6 insertions, 2 deletions
diff --git a/academic/copasi/copasi.SlackBuild b/academic/copasi/copasi.SlackBuild
index ebdbbc4544..9a6d5e4a1a 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=55
+VERSION=${VERSION:-65}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -60,7 +60,11 @@ tar xvf $CWD/Copasi-$VERSION-$BINNAME.tar.gz
mv $PRGNAM $PRGNAM-$VERSION
cd $PRGNAM-$VERSION
chown -R root:root .
-chmod -R u+w,go+r-w,a-s .
+find -L . \
+ \( -perm 777 -o -perm 775 -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 {} \;
mkdir -p $PKG/usr/bin $PKG/usr/share/{copasi,pixmaps,applications}
cp -a bin/* $PKG/usr/bin/