diff options
author | Eric Hameleers <alien@slackware.com> | 2010-06-01 12:33:56 +0000 |
---|---|---|
committer | Eric Hameleers <alien@slackware.com> | 2010-06-01 12:33:56 +0000 |
commit | 2c2ddd4915c63ff3ca9de1544de9ce33c3eb8f75 (patch) | |
tree | c7e2fc2adcb9cea9d6a6309e8447204b16f4dbe2 /id3lib | |
parent | a5ef4d5c09e4b4a3c1c9f8ed773dc1f6797aa816 (diff) | |
download | asb-2c2ddd4915c63ff3ca9de1544de9ce33c3eb8f75.tar.gz asb-2c2ddd4915c63ff3ca9de1544de9ce33c3eb8f75.tar.xz |
Rebuilt for Slackware 13.1
Diffstat (limited to 'id3lib')
-rwxr-xr-x | id3lib/build/id3lib.SlackBuild | 13 |
1 files changed, 11 insertions, 2 deletions
diff --git a/id3lib/build/id3lib.SlackBuild b/id3lib/build/id3lib.SlackBuild index 9c9f2ab0..e805df84 100755 --- a/id3lib/build/id3lib.SlackBuild +++ b/id3lib/build/id3lib.SlackBuild @@ -38,6 +38,8 @@ # * Revamped SlackBuild again # 3.8.3-4: 31/jan/2010 by Eric Hameleers <alien@slackware.com> # * Rebuilt for Slackware64. +# 3.8.3-5: 01/jun/2010 by Eric Hameleers <alien@slackware.com> +# * Rebuilt for Slackware 13.1. # # Run 'sh id3lib.SlackBuild' to build a Slackware package. # The package (.tgz) plus descriptive .txt file are created in /tmp . @@ -49,7 +51,7 @@ PRGNAM=id3lib VERSION=${VERSION:-3.8.3} -BUILD=${BUILD:-4} +BUILD=${BUILD:-5} TAG=${TAG:-alien} DOCS="AUTHORS COPYING ChangeLog HISTORY NEWS README THANKS TODO doc/*" @@ -98,6 +100,10 @@ trap 'echo "$0 FAILED at line $LINENO!" | tee $OUTPUT/error-${PRGNAM}.log' ERR set -u P1=${1:-1} +# Save old umask and set to 0022: +_UMASK_=$(umask) +umask 0022 + # Create working directories: mkdir -p $OUTPUT # place for the package to be saved mkdir -p $TMP/tmp-$PRGNAM # location to build the source @@ -140,7 +146,7 @@ cd $TMP/tmp-$PRGNAM echo "Extracting the source archive(s) for $PRGNAM..." tar -xvf ${SOURCE} chown -R root:root * -chmod -R u+w,go+r-w,a-s * +chmod -R u+w,go+r-w,a+X-s * cd ${PRGNAM}-${VERSION} patch -p1 < $SRCDIR/${PRGNAM}_utf8.patch \ @@ -215,3 +221,6 @@ md5sum ${PRGNAM}-${VERSION}-${ARCH}-${BUILD}${TAG}.tgz > ${PRGNAM}-${VERSION}-${ cd - cat $PKG/install/slack-desc | grep "^${PRGNAM}" > $OUTPUT/${PRGNAM}-${VERSION}-${ARCH}-${BUILD}${TAG}.txt +# Restore the original umask: +umask ${_UMASK_} + |