diff options
author | Michiel van Wessem <michiel@slackbuilds.org> | 2010-03-29 22:00:12 +0200 |
---|---|---|
committer | Heinz Wiesinger <pprkut@slackbuilds.org> | 2010-05-13 14:46:41 +0200 |
commit | fd27b599598e6dd5ff4050b3447b27cf3ac526e2 (patch) | |
tree | 6c5b747a36d54fcc8b25b77b84fcf1380ffb7562 /multimedia/kaffeine/kaffeine.SlackBuild | |
parent | fe1d560851f74c3dc38d08d480fd5f23343cccc3 (diff) | |
download | slackbuilds-fd27b599598e6dd5ff4050b3447b27cf3ac526e2.tar.gz |
multimedia/kaffeine: Updated for version 1.0_pre3
Diffstat (limited to 'multimedia/kaffeine/kaffeine.SlackBuild')
-rw-r--r-- | multimedia/kaffeine/kaffeine.SlackBuild | 13 |
1 files changed, 5 insertions, 8 deletions
diff --git a/multimedia/kaffeine/kaffeine.SlackBuild b/multimedia/kaffeine/kaffeine.SlackBuild index 2c583933a1..544db9a85b 100644 --- a/multimedia/kaffeine/kaffeine.SlackBuild +++ b/multimedia/kaffeine/kaffeine.SlackBuild @@ -1,7 +1,6 @@ #!/bin/sh # Slackware build script for kaffeine - # Copyright 2008-2009 Michiel van Wessem, Manchester, United Kingdom. # Copyright 2006 Martin Lefebvre <dadexter@sekurity.com> # All rights reserved. @@ -24,7 +23,7 @@ # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. PRGNAM=kaffeine -VERSION=${VERSION:-1.0_pre2} +VERSION=${VERSION:-1.0_pre3} ARCH=${ARCH:-i486} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} @@ -51,10 +50,10 @@ set -e # Exit on most errors rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT -cd $TMP || exit 1 +cd $TMP rm -rf $PRGNAM-$SRC_VERSION tar xvf $CWD/$PRGNAM-$SRC_VERSION.tar.gz -cd $PRGNAM-$SRC_VERSION +cd $PRGNAM-$SRC_VERSION chown -R root:root . find . \ \( -perm 777 -o -perm 775 -o -perm 711 -o -perm 555 -o -perm 511 \) \ @@ -76,10 +75,8 @@ cd build make install VERBOSE=1 DESTDIR=$PKG cd - -( cd $PKG - find . | xargs file | grep "executable" | grep ELF | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null - find . | xargs file | grep "shared object" | grep ELF | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null -) +find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \ + | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION cp -a AUTHORS COPYING* Changelog INSTALL NOTES TODO \ |