diff options
author | dsomero <xgizzmo@slackbuilds.org> | 2011-01-25 18:17:28 -0500 |
---|---|---|
committer | Robby Workman <rworkman@slackbuilds.org> | 2011-02-06 22:18:34 -0600 |
commit | 923ceb938dc8c42b9f0a6b5a31d6a4f6ebefc235 (patch) | |
tree | 5d2c630dbad8f68b7b414eb4d88ca9223a84fb82 /multimedia/kdenlive | |
parent | 0832021ee26b3352c1592f6b5c855ade9bd4bbdf (diff) |
multimedia/kdenlive: Minor bug fix and cleanup.
Signed-off-by: dsomero <xgizzmo@slackbuilds.org>
Diffstat (limited to 'multimedia/kdenlive')
-rw-r--r-- | multimedia/kdenlive/kdenlive.SlackBuild | 11 |
1 files changed, 4 insertions, 7 deletions
diff --git a/multimedia/kdenlive/kdenlive.SlackBuild b/multimedia/kdenlive/kdenlive.SlackBuild index 8b029062c3465..0d465acc47c1c 100644 --- a/multimedia/kdenlive/kdenlive.SlackBuild +++ b/multimedia/kdenlive/kdenlive.SlackBuild @@ -7,15 +7,13 @@ PRGNAM=kdenlive VERSION=${VERSION:-0.7.8} -BUILD=${BUILD:-1} +BUILD=${BUILD:-2} 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 @@ -44,6 +42,7 @@ set -e rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT cd $TMP +rm -rf $PRGNAM-$VERSION tar xvf $CWD/$PRGNAM-$VERSION.tar.gz cd $PRGNAM-$VERSION chown -R root:root . @@ -65,10 +64,8 @@ make install DESTDIR=$PKG find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \ | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true -( 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 -) +find $PKG/usr/man -type f -exec gzip -9 {} \; +for i in $( find $PKG/usr/man -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION cp -a AUTHORS COPYING INSTALL README $PKG/usr/doc/$PRGNAM-$VERSION |