mirror of
https://github.com/Ponce/slackbuilds
synced 2024-11-20 19:41:34 +01:00
audio/abcde: New maintainer.
slackbuilds-users/2022-January/025989.html Signed-off-by: bedlam <dave@slackbuilds.org> Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
parent
09d0f96f0f
commit
4dcda878a6
2 changed files with 7 additions and 17 deletions
|
@ -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
|
||||
|
|
|
@ -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"
|
||||
|
|
Loading…
Reference in a new issue