diff options
Diffstat (limited to 'graphics')
-rw-r--r-- | graphics/mlbrot/mlbrot.SlackBuild | 17 |
1 files changed, 7 insertions, 10 deletions
diff --git a/graphics/mlbrot/mlbrot.SlackBuild b/graphics/mlbrot/mlbrot.SlackBuild index 5a9e425abd..19f70b5fe9 100644 --- a/graphics/mlbrot/mlbrot.SlackBuild +++ b/graphics/mlbrot/mlbrot.SlackBuild @@ -6,7 +6,7 @@ PRGNAM=mlbrot VERSION=${VERSION:-1.00} -BUILD=${BUILD:-1} +BUILD=${BUILD:-2} TAG=${TAG:-_SBo} if [ -z "$ARCH" ]; then @@ -32,11 +32,12 @@ tar xvf $CWD/$PRGNAM-$VERSION.tgz 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 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \ - -exec chmod 644 {} \; + \( -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 {} \; +sed -i 's|gtkdir="+lablgtk2"|gtkdir="+site-lib/lablgtk2"|' configure ./configure make @@ -45,12 +46,8 @@ make mkdir -p $PKG/usr/bin cp mlbrot mlbrot_slave $PKG/usr/bin/ -# Copy program documentation into the package -# Also, include the SlackBuild script in the documentation directory mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION -cp -a \ - CHANGES LICENSE README REFERENCES \ - $PKG/usr/doc/$PRGNAM-$VERSION +cp -a CHANGES LICENSE README REFERENCES $PKG/usr/doc/$PRGNAM-$VERSION cp $CWD/$PRGNAM.SlackBuild $PKG/usr/doc/$PRGNAM-$VERSION/ mkdir -p $PKG/install |