diff options
author | Frank Caraballo <fecaraballo{at}gmail{dot}com> | 2010-05-12 17:46:22 +0200 |
---|---|---|
committer | Robby Workman <rworkman@slackbuilds.org> | 2010-05-12 17:46:22 +0200 |
commit | a5f8f4546ac3e6a457bed6ed905aac01e292fa10 (patch) | |
tree | 0ba9cc331167054a8b0362add50e393e4bcb0e80 /system/xarchiver/xarchiver.SlackBuild | |
parent | aed534df488e2f6b915b5d86251d7d884828ffc6 (diff) |
system/xarchiver: Updated for version 0.5.2
Diffstat (limited to 'system/xarchiver/xarchiver.SlackBuild')
-rw-r--r-- | system/xarchiver/xarchiver.SlackBuild | 27 |
1 files changed, 15 insertions, 12 deletions
diff --git a/system/xarchiver/xarchiver.SlackBuild b/system/xarchiver/xarchiver.SlackBuild index 04597f6d83c32..5782957744dc9 100644 --- a/system/xarchiver/xarchiver.SlackBuild +++ b/system/xarchiver/xarchiver.SlackBuild @@ -2,7 +2,7 @@ # Slackware build script for Xarchiver -# Copyright 2007 Frank Caraballo fecaraballo[AT]gmail.com +# Copyright 2007, 2008 Frank Caraballo <fecaraballo{at}gmail{dot}com> # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -22,12 +22,10 @@ # OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -# Modified by the SlackBuilds.org project - PRGNAM=xarchiver -VERSION=0.5.2 +VERSION=${VERSION:-0.5.2} ARCH=${ARCH:-i486} -BUILD=${BUILD:-1} +BUILD=${BUILD:-2} TAG=${TAG:-_SBo} CWD=$(pwd) @@ -52,7 +50,11 @@ rm -rf $PRGNAM-$VERSION tar xvf $CWD/$PRGNAM-$VERSION.tar.bz2 cd $PRGNAM-$VERSION chown -R root:root . -chmod -R u+w,go+r-w,a-s . +find . \ + \( -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 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \ + -exec chmod 644 {} \; CFLAGS="$SLKCFLAGS" \ CXXFLAGS="$SLKCFLAGS" \ @@ -60,24 +62,25 @@ CXXFLAGS="$SLKCFLAGS" \ --prefix=/usr \ --sysconfdir=/etc \ --localstatedir=/var \ - --docdir=/usr/doc/$PRGNAM-$VERSION \ + --enable-debug=no \ --build=$ARCH-slackware-linux make make install-strip DESTDIR=$PKG mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION -cp -a INSTALL $PKG/usr/doc/$PRGNAM-$VERSION +cp -a INSTALL \ + $PKG/usr/doc/$PRGNAM-$VERSION cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild - -# Move doc files to correct location: mv $PKG/usr/share/doc/$PRGNAM/* $PKG/usr/doc/$PRGNAM-$VERSION rm -rf $PKG/usr/share/doc -( cd $PKG/usr/doc ; ln -s $PRGNAM-$VERSION $PRGNAM ) +( cd $PKG/usr/doc + ln -s xarchiver-$VERSION xarchiver +) mkdir -p $PKG/install -cat $CWD/doinst.sh > $PKG/install/doinst.sh cat $CWD/slack-desc > $PKG/install/slack-desc +cat $CWD/doinst.sh > $PKG/install/doinst.sh cd $PKG /sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.tgz |