aboutsummaryrefslogtreecommitdiff
path: root/audio/cmus/cmus.SlackBuild
diff options
context:
space:
mode:
authorponce <matteo.bernardini@sns.it>2010-10-31 16:53:34 +0100
committerHeinz Wiesinger <pprkut@slackbuilds.org>2010-11-22 19:40:02 +0100
commit624f2815b0c0fc800b8e97ea994b72dd6f228961 (patch)
treec0c9e4566320e0c62bf3eca4ea9293e378b19e32 /audio/cmus/cmus.SlackBuild
parent2450abe0250e51e6b20863795b3683a531783d82 (diff)
audio/cmus: Small script cleanups and new maintainer.
Signed-off-by: Heinz Wiesinger <pprkut@slackbuilds.org>
Diffstat (limited to 'audio/cmus/cmus.SlackBuild')
-rw-r--r--audio/cmus/cmus.SlackBuild10
1 files changed, 2 insertions, 8 deletions
diff --git a/audio/cmus/cmus.SlackBuild b/audio/cmus/cmus.SlackBuild
index 87e0df65a077..d6e654dd6fcb 100644
--- a/audio/cmus/cmus.SlackBuild
+++ b/audio/cmus/cmus.SlackBuild
@@ -26,12 +26,10 @@ VERSION=v2.3.3
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
@@ -85,12 +83,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
-if [ -d $PKG/usr/man ]; then
- ( 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
- )
-fi
+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 README TODO $PKG/usr/doc/$PRGNAM-$VERSION