summaryrefslogtreecommitdiffstats
path: root/gecko-mediaplayer
diff options
context:
space:
mode:
author Eric Hameleers <alien@slackware.com>2010-06-02 20:16:34 +0000
committer Eric Hameleers <alien@slackware.com>2010-06-02 20:16:34 +0000
commite3b2c8631c18e166120d14fe618c098d07374698 (patch)
treefc2a2e3d71385d02f9cfa068cae411a1d8d90a14 /gecko-mediaplayer
parent21277d70109956d5ad3b892db035b1760f75e542 (diff)
downloadasb-e3b2c8631c18e166120d14fe618c098d07374698.tar.gz
asb-e3b2c8631c18e166120d14fe618c098d07374698.tar.xz
Update to 0.9.9.2
Diffstat (limited to 'gecko-mediaplayer')
-rwxr-xr-xgecko-mediaplayer/build/gecko-mediaplayer.SlackBuild16
1 files changed, 12 insertions, 4 deletions
diff --git a/gecko-mediaplayer/build/gecko-mediaplayer.SlackBuild b/gecko-mediaplayer/build/gecko-mediaplayer.SlackBuild
index 73a38ae8..eb71860d 100755
--- a/gecko-mediaplayer/build/gecko-mediaplayer.SlackBuild
+++ b/gecko-mediaplayer/build/gecko-mediaplayer.SlackBuild
@@ -1,6 +1,6 @@
#!/bin/sh
# $Id$
-# Copyright (c) 2009 Eric Hameleers, Eindhoven, NL
+# Copyright (c) 2009,2010 Eric Hameleers, Eindhoven, NL
# All rights reserved.
#
# Permission to use, copy, modify, and distribute this software for
@@ -35,6 +35,8 @@
# 0.9.9-1: 11/feb/2010 by Eric Hameleers <alien@slackware.com>
# * Upgrade. Won't build with the seamonkey 1.1.17 but requires
# the version 2.0.x in slackware13.0/patches
+# 0.9.9.2-1: 02/jun/2010 by Eric Hameleers <alien@slackware.com>
+# * Upgrade.
#
# Run 'sh gecko-mediaplayer.SlackBuild' to build a Slackware package.
# The package (.tgz) and .txt file as well as build logs are created in /tmp .
@@ -45,7 +47,7 @@
# Set initial variables:
PRGNAM=gecko-mediaplayer
-VERSION=${VERSION:-0.9.9}
+VERSION=${VERSION:-0.9.9.2}
BUILD=${BUILD:-1}
NUMJOBS=${NUMJOBS:" -j4 "}
TAG=${TAG:-alien}
@@ -63,7 +65,6 @@ OUTPUT=${OUTPUT:-/tmp}
SOURCE="$SRCDIR/${PRGNAM}-${VERSION}.tar.gz"
SRCURL="http://gecko-mediaplayer.googlecode.com/files/${PRGNAM}-${VERSION}.tar.gz"
-
##
## --- with a little luck, you won't have to edit below this point --- ##
##
@@ -97,6 +98,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
@@ -146,7 +151,7 @@ cat $SRCDIR/gecko-mediaplayer_no.gconf.diff | patch -p1 --verbose \
2>&1 | tee $OUTPUT/patch-${PRGNAM}.log
chown -R root:root .
-chmod -R u+w,go+r-w,a-s .
+chmod -R u+w,go+r-w,a+X-s .
echo Building ...
# The 'autoreconf' is required because of the above patch:
@@ -210,3 +215,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_}
+