summaryrefslogtreecommitdiffstats
path: root/audacity
diff options
context:
space:
mode:
author Eric Hameleers <alien@slackware.com>2010-05-31 13:27:26 +0000
committer Eric Hameleers <alien@slackware.com>2010-05-31 13:27:26 +0000
commit4b1b36341de22aae9aba3385eaba92f4ba6aeba1 (patch)
treeb1ca4f1fd374b16be99fee8c5814792941b30a90 /audacity
parent0b5b8e4d6dff7a4cc730290f36662089e9ed8f97 (diff)
downloadasb-4b1b36341de22aae9aba3385eaba92f4ba6aeba1.tar.gz
asb-4b1b36341de22aae9aba3385eaba92f4ba6aeba1.tar.xz
Rebuild for Slackware 13.1
Diffstat (limited to 'audacity')
-rwxr-xr-xaudacity/build/audacity.SlackBuild13
1 files changed, 11 insertions, 2 deletions
diff --git a/audacity/build/audacity.SlackBuild b/audacity/build/audacity.SlackBuild
index e2bed6db..69ca2173 100755
--- a/audacity/build/audacity.SlackBuild
+++ b/audacity/build/audacity.SlackBuild
@@ -1,6 +1,6 @@
#!/bin/sh
# $Id$
-# Copyright (c) 2010 Eric Hameleers <alien@slackware.com>
+# Copyright (c) 2010 Eric Hameleers, Eindhoven, NL
# All rights reserved.
#
# Permission to use, copy, modify, and distribute this software for
@@ -32,6 +32,8 @@
# Changelog:
# 1.3.12-1: 12/Apr/2010 by Eric Hameleers <alien@slackware.com>
# * Initial build.
+# 1.3.12-2: 31/may/2010 by Eric Hameleers <alien@slackware.com>
+# * Rebuild for Slackware 13.1
#
# Run 'sh audacity.SlackBuild' to build a Slackware package.
# The package (.tgz) and .txt file as well as build logs are created in /tmp .
@@ -43,7 +45,7 @@
PRGNAM=audacity
VERSION=${VERSION:-1.3.12}
-BUILD=${BUILD:-1}
+BUILD=${BUILD:-2}
NUMJOBS=${NUMJOBS:" -j4 "}
TAG=${TAG:-alien}
@@ -93,6 +95,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
@@ -215,3 +221,6 @@ if [ -f $PKG/install/slack-required ]; then
cat $PKG/install/slack-required > $OUTPUT/${PRGNAM}-${VERSION}-${ARCH}-${BUILD}${TAG}.dep
fi
+# Restore the original umask:
+umask ${_UMASK_}
+