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