diff options
author | Robby Workman <rw@rlworkman.net> | 2010-05-12 17:46:24 +0200 |
---|---|---|
committer | Michiel van Wessem <michiel@slackbuilds.org> | 2010-05-12 17:46:24 +0200 |
commit | 7479935957b12cc26a7743c833770e2f973d7ef0 (patch) | |
tree | 7c7384c4f859ab8ad2a12b86cd8d0fcb6319945e /system/xfburn | |
parent | 237a2c808adb0423898164183e8da28c0a7ee1ca (diff) |
system/xfburn: Updated for version 0.4.1
Diffstat (limited to 'system/xfburn')
-rw-r--r-- | system/xfburn/doinst.sh | 7 | ||||
-rw-r--r-- | system/xfburn/xfburn.SlackBuild | 25 | ||||
-rw-r--r-- | system/xfburn/xfburn.info | 8 |
3 files changed, 30 insertions, 10 deletions
diff --git a/system/xfburn/doinst.sh b/system/xfburn/doinst.sh index 5fb28930db0b9..1f8ff67dedb29 100644 --- a/system/xfburn/doinst.sh +++ b/system/xfburn/doinst.sh @@ -1,3 +1,10 @@ if [ -x /usr/bin/update-desktop-database ]; then /usr/bin/update-desktop-database -q usr/share/applications >/dev/null 2>&1 fi + +if [ -e usr/share/icons/hicolor/icon-theme.cache ]; then + if [ -x /usr/bin/gtk-update-icon-cache ]; then + /usr/bin/gtk-update-icon-cache usr/share/icons/hicolor >/dev/null 2>&1 + fi +fi + diff --git a/system/xfburn/xfburn.SlackBuild b/system/xfburn/xfburn.SlackBuild index 56da473cf814f..a4f4f85cec108 100644 --- a/system/xfburn/xfburn.SlackBuild +++ b/system/xfburn/xfburn.SlackBuild @@ -23,7 +23,7 @@ # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. PRGNAM=xfburn -VERSION=0.3.91 +VERSION=0.4.1 ARCH=${ARCH:-i486} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} @@ -50,12 +50,17 @@ 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" \ ./configure \ --prefix=/usr \ + --mandir=/usr/man \ --docdir=/usr/doc/$PRGNAM-$VERSION \ --enable-static=no \ --build=$ARCH-slackware-linux @@ -64,13 +69,21 @@ make make install DESTDIR=$PKG ( cd $PKG - find . | xargs file | grep -e "executable" -e "shared object" | grep ELF | \ - cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null + find . | xargs file | grep "executable" | grep ELF | cut -f 1 -d : | \ + xargs strip --strip-unneeded 2> /dev/null || true + find . | xargs file | grep "shared object" | grep ELF | cut -f 1 -d : | \ + xargs strip --strip-unneeded 2> /dev/null +) + +( cd $PKG/usr/man + find . -type f -exec gzip -9 {} \; + for i in $(find . -type l) ; do ln -s $(readlink $i).gz $i.gz ; rm $i ; done ) mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION -cp -a AUTHORS COPYING ChangeLog INSTALL NEWS README TODO \ - $PKG/usr/doc/$PRGNAM-$VERSION +cp -a \ + AUTHORS COPYING ChangeLog INSTALL NEWS README TODO \ + $PKG/usr/doc/$PRGNAM-$VERSION cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild mkdir -p $PKG/install diff --git a/system/xfburn/xfburn.info b/system/xfburn/xfburn.info index 3fe6125939d04..10fe70ae85cde 100644 --- a/system/xfburn/xfburn.info +++ b/system/xfburn/xfburn.info @@ -1,8 +1,8 @@ PRGNAM="xfburn" -VERSION="0.3.91" +VERSION="0.4.1" HOMEPAGE="http://www.xfce.org/projects/xfburn/" -DOWNLOAD="http://goodies.xfce.org/releases/xfburn/xfburn-0.3.91.tar.bz2" -MD5SUM="fbf53524dcdc5abc630e36e48b8cf4d2" +DOWNLOAD="http://goodies.xfce.org/releases/xfburn/xfburn-0.4.1.tar.bz2" +MD5SUM="f5ed76149fd348504d4a75830b4996dc" MAINTAINER="Robby Workman" EMAIL="rw@rlworkman.net" -APPROVED="dsomero" +APPROVED="michiel" |