summaryrefslogtreecommitdiff
path: root/graphics/luminance-hdr/luminance-hdr.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'graphics/luminance-hdr/luminance-hdr.SlackBuild')
-rw-r--r--graphics/luminance-hdr/luminance-hdr.SlackBuild11
1 files changed, 5 insertions, 6 deletions
diff --git a/graphics/luminance-hdr/luminance-hdr.SlackBuild b/graphics/luminance-hdr/luminance-hdr.SlackBuild
index f53986d9fb..77990e1099 100644
--- a/graphics/luminance-hdr/luminance-hdr.SlackBuild
+++ b/graphics/luminance-hdr/luminance-hdr.SlackBuild
@@ -5,9 +5,8 @@
# This script is dedicated to the public domain
PRGNAM=luminance-hdr
-TARNAM=luminance
-VERSION=2.0.1.1
-TARVER=v2.0.1-1
+DIRNAM=LuminanceHDR
+VERSION=${VERSION:-2.0.2}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -44,9 +43,9 @@ set -e
rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
-rm -rf ${PRGNAM}_${VERSION}
-tar xvf $CWD/${TARNAM}-${TARVER}.tar.gz
-cd ${TARNAM}-${TARVER}
+rm -rf ${DIRNAM}-${VERSION}
+tar xvf $CWD/${PRGNAM}-${VERSION}.tar.gz
+cd ${DIRNAM}-${VERSION}
chown -R root:root .
chmod -R u+w,go+r-w,a-s .