diff options
-rw-r--r-- | audio/abcde/abcde.SlackBuild | 20 | ||||
-rw-r--r-- | audio/abcde/abcde.info | 4 |
2 files changed, 7 insertions, 17 deletions
diff --git a/audio/abcde/abcde.SlackBuild b/audio/abcde/abcde.SlackBuild index 840c131cc1a6..43a908b6d34c 100644 --- a/audio/abcde/abcde.SlackBuild +++ b/audio/abcde/abcde.SlackBuild @@ -1,8 +1,8 @@ #!/bin/bash # Slackware build script for abcde -# abcde has a dependency of cd-discid, see the README # Copyright 2007 Jim Capozzoli <saltmiser@gmail.com> +# Copyright 2023 Johannes Schoepfer, Germany # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -34,18 +34,8 @@ VERSION=${VERSION:-2.9.3} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} +ARCH=noarch -if [ -z "$ARCH" ]; then - case "$( uname -m )" in - i?86) ARCH=i586 ;; - arm*) ARCH=arm ;; - *) ARCH=$( uname -m ) ;; - esac -fi - -# If the variable PRINT_PACKAGE_NAME is set, then this script will report what -# the name of the created package would be, and then exit. This information -# could be useful to other scripts. if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE" exit 0 @@ -66,9 +56,9 @@ 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 \ + -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 {} \; + -o -perm 440 -o -perm 400 \) -exec chmod 644 {} + patch -p1 < $CWD/id3-genre.diff patch -p1 < $CWD/padding.diff @@ -82,7 +72,7 @@ make install DESTDIR=$PKG \ # Let's not overwrite the config file if it already exists mv $PKG/etc/$PRGNAM.conf $PKG/etc/$PRGNAM.conf.new -find $PKG/usr/man -type f -exec gzip -9 {} \; +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 diff --git a/audio/abcde/abcde.info b/audio/abcde/abcde.info index ede0bdc0f355..9f5aef27b337 100644 --- a/audio/abcde/abcde.info +++ b/audio/abcde/abcde.info @@ -6,5 +6,5 @@ MD5SUM="24a6e89f0e04acb6111e6be913643b12" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="cd-discid perl-MusicBrainz-DiscID perl-WebService-MusicBrainz" -MAINTAINER="Didier Spaier" -EMAIL="didier at slint dot fr" +MAINTAINER="Johannes Schoepfer" +EMAIL="slackbuilds@schoepfer.info" |