summaryrefslogtreecommitdiff
path: root/multimedia/ffmpeg2theora/ffmpeg2theora.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'multimedia/ffmpeg2theora/ffmpeg2theora.SlackBuild')
-rw-r--r--multimedia/ffmpeg2theora/ffmpeg2theora.SlackBuild9
1 files changed, 5 insertions, 4 deletions
diff --git a/multimedia/ffmpeg2theora/ffmpeg2theora.SlackBuild b/multimedia/ffmpeg2theora/ffmpeg2theora.SlackBuild
index 1fb4ecf7ba..72b92b0852 100644
--- a/multimedia/ffmpeg2theora/ffmpeg2theora.SlackBuild
+++ b/multimedia/ffmpeg2theora/ffmpeg2theora.SlackBuild
@@ -3,7 +3,8 @@
# Slackware Package Build Script for ffmpeg2theora
# Home Page http://v2v.cc/~j/ffmpeg2theora/
-# Copyright (c) 2008-2010, Nishant Limbachia, Hoffman Estates, IL, USA (nishant _AT_ mnspace _DOT_ net)
+# Copyright (c) 2008-2011, Nishant Limbachia, Hoffman Estates, IL, USA
+# (nishant _AT_ mnspace _DOT_ net)
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -26,8 +27,8 @@
# Modified by SlackBuilds.org --dsomero,rworkman
-PRGNAM=ffmpeg2theora
-VERSION=0.27
+PRGNAM="ffmpeg2theora"
+VERSION=${VERSION:-0.28}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -52,7 +53,7 @@ elif [ "$ARCH" = "x86_64" ]; then
SLKCFLAGS="-O2 -fPIC"
fi
-set -e ### exit on most errors
+set -e
rm -fr $TMP/$PRGNAM-$VERSION $PKG
mkdir -p $TMP $PKG $OUTPUT