summaryrefslogtreecommitdiff
path: root/audio/atunes/atunes.SlackBuild
diff options
context:
space:
mode:
authorwigums <pioneer22675@gmail.com>2018-04-06 22:02:41 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2018-04-07 08:13:16 +0700
commit375eafc95d4981adaa35fb7fef72fddeb3c74ca3 (patch)
treec84df651a29750347cf780aed2ad46e3c30b5a54 /audio/atunes/atunes.SlackBuild
parentdd65b9ebb7acbf8a22132a5150766c74a96ccd3d (diff)
downloadslackbuilds-375eafc95d4981adaa35fb7fef72fddeb3c74ca3.tar.gz
audio/atunes: Updated for version 3.1.2 + new maintainer.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'audio/atunes/atunes.SlackBuild')
-rw-r--r--audio/atunes/atunes.SlackBuild19
1 files changed, 8 insertions, 11 deletions
diff --git a/audio/atunes/atunes.SlackBuild b/audio/atunes/atunes.SlackBuild
index e9d3ccf737..c9effc92bb 100644
--- a/audio/atunes/atunes.SlackBuild
+++ b/audio/atunes/atunes.SlackBuild
@@ -4,7 +4,7 @@
# Written by Diogo Leal(estranho) - diogo@diogoleal.com
PRGNAM=atunes
-VERSION=${VERSION:-2.0.1}
+VERSION=${VERSION:-3.1.2}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
CWD=$(pwd)
@@ -21,15 +21,14 @@ rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
rm -rf $TMP/$PRGNAM-$VERSION
cd $TMP
-tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
-mv $PRGNAM-$VERSION-SNAPSHOT $PRGNAM-$VERSION
+tar xvf $CWD/$PRGNAM-$VERSION-bin.tar.gz
cd $PRGNAM-$VERSION
chown -R root:root .
find -L . \
- \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 -o -perm 511 \) \
- -exec chmod 755 {} \; -o \
- \( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
- -exec chmod 644 {} \;
+ \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
+ -o -perm 511 \) -exec chmod 755 {} \; -o \
+ \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
+ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
cp aTunes.sh aTunes
chmod +x aTunes
@@ -40,13 +39,11 @@ cp -a * $PKG/opt/aTunes
install -D -m 644 $CWD/atunes.desktop $PKG/usr/share/applications/atunes.desktop
install -D -m 644 $CWD/atunes.png $PKG/usr/share/pixmaps/atunes.png
-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
-cp -a \
- license.txt \
- $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a license.txt $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
mkdir -p $PKG/install