diff options
Diffstat (limited to 'multimedia/kaffeine/kaffeine.SlackBuild')
-rw-r--r-- | multimedia/kaffeine/kaffeine.SlackBuild | 11 |
1 files changed, 4 insertions, 7 deletions
diff --git a/multimedia/kaffeine/kaffeine.SlackBuild b/multimedia/kaffeine/kaffeine.SlackBuild index f33f74f9b2..4de7b90449 100644 --- a/multimedia/kaffeine/kaffeine.SlackBuild +++ b/multimedia/kaffeine/kaffeine.SlackBuild @@ -1,7 +1,7 @@ #!/bin/sh # Slackware build script for kaffeine -# Copyright 2008-2010 Michiel van Wessem, Manchester, United Kingdom. +# Copyright 2008-2011 Michiel van Wessem, Manchester, United Kingdom. # Copyright 2006 Martin Lefebvre <dadexter@sekurity.com> # All rights reserved. # @@ -23,16 +23,14 @@ # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. PRGNAM=kaffeine -VERSION=${VERSION:-1.1} +VERSION=${VERSION:-1.2.2} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} -# Automatically determine the architecture we're building on: if [ -z "$ARCH" ]; then case "$( uname -m )" in i?86) ARCH=i486 ;; arm*) ARCH=arm ;; - # Unless $ARCH is already set, use uname -m for all other archs: *) ARCH=$( uname -m ) ;; esac fi @@ -58,7 +56,7 @@ else LIBDIRSUFFIX="" fi -set -e # Exit on most errors +set -e rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT @@ -91,8 +89,7 @@ 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 \ - $PKG/usr/doc/$PRGNAM-$VERSION +cp -a COPYING* Changelog NOTES README $PKG/usr/doc/$PRGNAM-$VERSION cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild mkdir -p $PKG/install |