summaryrefslogtreecommitdiffstats
path: root/gecko-mediaplayer
diff options
context:
space:
mode:
author Eric Hameleers <alien@slackware.com>2011-06-26 14:25:45 +0000
committer Eric Hameleers <alien@slackware.com>2011-06-26 14:25:45 +0000
commit808d296a140d236fe1cb8c5d95ca6e9afb1de9dd (patch)
tree5c4a8fb85de0da0defd1ee5003839493048a3169 /gecko-mediaplayer
parent1e4ac9e12d084513963617f844f234720b455c46 (diff)
downloadasb-808d296a140d236fe1cb8c5d95ca6e9afb1de9dd.tar.gz
asb-808d296a140d236fe1cb8c5d95ca6e9afb1de9dd.tar.xz
Update to 1.0.3
Diffstat (limited to 'gecko-mediaplayer')
-rwxr-xr-xgecko-mediaplayer/build/gecko-mediaplayer.SlackBuild13
1 files changed, 8 insertions, 5 deletions
diff --git a/gecko-mediaplayer/build/gecko-mediaplayer.SlackBuild b/gecko-mediaplayer/build/gecko-mediaplayer.SlackBuild
index 13ba4724..244f3958 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,2010 Eric Hameleers, Eindhoven, NL
+# Copyright 2009, 2010, 2011 Eric Hameleers, Eindhoven, NL
# All rights reserved.
#
# Permission to use, copy, modify, and distribute this software for
@@ -37,6 +37,8 @@
# the version 2.0.x in slackware13.0/patches
# 0.9.9.2-1: 02/jun/2010 by Eric Hameleers <alien@slackware.com>
# * Upgrade.
+# 1.0.3-1: 26/jun/2011 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 .
@@ -47,7 +49,7 @@
# Set initial variables:
PRGNAM=gecko-mediaplayer
-VERSION=${VERSION:-0.9.9.2}
+VERSION=${VERSION:-1.0.3}
BUILD=${BUILD:-1}
NUMJOBS=${NUMJOBS:" -j4 "}
TAG=${TAG:-alien}
@@ -113,10 +115,11 @@ rm -rf $OUTPUT/{configure,make,install,error,makepkg}-$PRGNAM.log
# Source file availability:
if ! [ -f ${SOURCE} ]; then
+ echo "Source '$(basename ${SOURCE})' not available yet..."
+ # Check if the $SRCDIR is writable at all - if not, download to $OUTPUT
+ [ -w "$SRCDIR" ] || SOURCE="$OUTPUT/$(basename $SOURCE)"
+ if [ -f ${SOURCE} ]; then echo "Ah, found it!"; continue; fi
if ! [ "x${SRCURL}" == "x" ]; then
- # Check if the $SRCDIR is writable at all - if not, download to $OUTPUT
- [ -w "$SRCDIR" ] || SOURCE="$OUTPUT/$(basename $SOURCE)"
- echo "Source '$(basename ${SOURCE})' not available yet..."
echo "Will download file to $(dirname $SOURCE)"
wget -nv -T 20 -O "${SOURCE}" "${SRCURL}" || true
if [ $? -ne 0 -o ! -s "${SOURCE}" ]; then