summaryrefslogtreecommitdiff
path: root/source/xap/xlockmore/xlockmore.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'source/xap/xlockmore/xlockmore.SlackBuild')
-rwxr-xr-xsource/xap/xlockmore/xlockmore.SlackBuild10
1 files changed, 3 insertions, 7 deletions
diff --git a/source/xap/xlockmore/xlockmore.SlackBuild b/source/xap/xlockmore/xlockmore.SlackBuild
index 4da13fe6..3516c567 100755
--- a/source/xap/xlockmore/xlockmore.SlackBuild
+++ b/source/xap/xlockmore/xlockmore.SlackBuild
@@ -1,6 +1,6 @@
#!/bin/sh
-# Copyright 2008, 2009, 2011, 2012, 2013 Patrick J. Volkerding, Sebeka, MN, USA
+# Copyright 2008, 2009, 2011, 2012, 2013, 2015 Patrick J. Volkerding, Sebeka, MN, USA
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -22,7 +22,7 @@
PKGNAM=xlockmore
-VERSION=${VERSION:-$(echo $PKGNAM-*.tar.?z* | rev | cut -f 3- -d . | cut -f 1 -d - | rev)}
+VERSION=${VERSION:-$(echo $PKGNAM-*.tar.xz | rev | cut -f 3- -d . | cut -f 1 -d - | rev)}
BUILD=${BUILD:-1}
# Automatically determine the architecture we're building on:
@@ -57,13 +57,9 @@ PKG=$TMP/package-xlockmore
rm -rf $PKG
mkdir -p $TMP $PKG
-## Explode the package framework:
-#cd $PKG
-#tar xzvf $CWD/_xlockmore.tar.gz
-
cd $TMP
rm -rf xlockmore-$VERSION
-tar xvf $CWD/xlockmore-$VERSION.tar.?z* || exit 1
+tar xvf $CWD/xlockmore-$VERSION.tar.xz || exit 1
cd xlockmore-$VERSION || exit 1
chown -R root:root .
find . \