diff options
Diffstat (limited to 'academic/copasi/copasi.SlackBuild')
-rw-r--r-- | academic/copasi/copasi.SlackBuild | 15 |
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/ |