diff options
author | Roberto Neri <rneri@libero.it> | 2011-05-16 15:29:16 -0300 |
---|---|---|
committer | Robby Workman <rworkman@slackbuilds.org> | 2011-05-17 09:56:19 -0500 |
commit | 0a1188c41670e1d39c493b314a7228e640acaed3 (patch) | |
tree | 4ce6b0dcdbff72921a491783209866dc6240ba2b /multimedia/k9copy/k9copy.SlackBuild | |
parent | 2be4492162bcb841adb21f8991f45755a561191f (diff) | |
download | slackbuilds-0a1188c41670e1d39c493b314a7228e640acaed3.tar.gz |
multimedia/k9copy: Updated for version 2.3.7.
Signed-off-by: Niels Horn <niels.horn@slackbuilds.org>
Diffstat (limited to 'multimedia/k9copy/k9copy.SlackBuild')
-rw-r--r-- | multimedia/k9copy/k9copy.SlackBuild | 16 |
1 files changed, 6 insertions, 10 deletions
diff --git a/multimedia/k9copy/k9copy.SlackBuild b/multimedia/k9copy/k9copy.SlackBuild index a8b871dd82..faaa4fe56a 100644 --- a/multimedia/k9copy/k9copy.SlackBuild +++ b/multimedia/k9copy/k9copy.SlackBuild @@ -26,16 +26,14 @@ # Project Homepage: http://k9copy.sourceforge.net/ PRGNAM=k9copy -VERSION=${VERSION:-2.3.6} +VERSION=${VERSION:-2.3.7} 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 @@ -74,22 +72,20 @@ find . \ \( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \ -exec chmod 644 {} \; -mkdir build +mkdir -p build cd build cmake \ -DCMAKE_C_FLAGS:STRING="$SLKCFLAGS" \ -DCMAKE_CXX_FLAGS:STRING="$SLKCFLAGS" \ - -DCMAKE_BUILD_TYPE=Release \ -DCMAKE_INSTALL_PREFIX=/usr \ - -DMAN_INSTALL_DIR=/usr/man \ - -DSYSCONF_INSTALL_DIR=/etc/kde \ -DLIB_SUFFIX=${LIBDIRSUFFIX} \ - .. - make + -DMAN_INSTALL_DIR=/usr/man \ + -DCMAKE_BUILD_TYPE=Release .. + make VERBOSE=1 make install DESTDIR=$PKG cd .. -find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \ +find $PKG -print0 | xargs -0 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 |