diff options
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_} + |