mirror of
https://github.com/SlackBuildsOrg/slackbuilds
synced 2024-09-30 05:39:56 +02:00
audio/cmus: Small script cleanups and new maintainer.
Signed-off-by: Heinz Wiesinger <pprkut@slackbuilds.org>
This commit is contained in:
parent
2450abe025
commit
624f2815b0
3 changed files with 8 additions and 11 deletions
|
@ -2,3 +2,6 @@ cmus - ncurses based music player.
|
|||
|
||||
cmus is a small and fast text mode music player
|
||||
for Linux and many other UNIX like operating systems.
|
||||
|
||||
cmus optionally depends on ffmpeg, libmpcdec, faad2
|
||||
and libmp4v2.
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -5,6 +5,6 @@ DOWNLOAD="http://download.sourceforge.net/cmus/cmus-v2.3.3.tar.bz2"
|
|||
MD5SUM="220e875e4210a6b54882114ef7094a79"
|
||||
DOWNLOAD_x86_64=""
|
||||
MD5SUM_x86_64=""
|
||||
MAINTAINER="Antonio Hernández Blas"
|
||||
EMAIL="hba.nihilismus@gmail.com"
|
||||
APPROVED="Michiel"
|
||||
MAINTAINER="ponce"
|
||||
EMAIL="matteo.bernardini@sns.it"
|
||||
APPROVED="pprkut"
|
||||
|
|
Loading…
Reference in a new issue