aboutsummaryrefslogtreecommitdiff
path: root/desktop/lumina/lumina.SlackBuild
diff options
context:
space:
mode:
authorSasongko Bawono <sasongko262@gmail.com>2017-02-01 12:03:18 +0000
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2017-02-04 06:59:34 +0700
commit925ea605be06feadf39f38b778e6fa366b1482d8 (patch)
treea889944ba6d4dceb1c17edbf8f2ef736d186fa06 /desktop/lumina/lumina.SlackBuild
parent946bcdce5f9d990aab4d0811de64d1a3a3b225cd (diff)
desktop/lumina: Minor SlackBuild changes.
Signed-off-by: David Spencer <idlemoor@slackbuilds.org>
Diffstat (limited to 'desktop/lumina/lumina.SlackBuild')
-rw-r--r--desktop/lumina/lumina.SlackBuild11
1 files changed, 3 insertions, 8 deletions
diff --git a/desktop/lumina/lumina.SlackBuild b/desktop/lumina/lumina.SlackBuild
index d84e4ecb0191..289a210c903d 100644
--- a/desktop/lumina/lumina.SlackBuild
+++ b/desktop/lumina/lumina.SlackBuild
@@ -28,7 +28,6 @@
PRGNAM=lumina
VERSION=${VERSION:-1.2.0_p1}
PKGVERSION=${PKGVERSION:-1.2.0-p1}
-SRCVERSION="`echo $PKGVERSION | cut -d'-' -f1`"
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -64,13 +63,9 @@ set -eu
rm -rf $PKG
mkdir -pv $TMP $PKG $OUTPUT
cd $TMP
-rm -rf $PRGNAM-$SRCVERSION-*
-if [ -e $CWD/v$SRCVERSION-*.tar.gz ]; then
- tar xvf $CWD/v$SRCVERSION-*.tar.gz
-else
- tar xvf $CWD/$PRGNAM-$SRCVERSION-*.tar.gz
-fi
-cd $PRGNAM-$SRCVERSION-*
+rm -rf $PRGNAM-$PKGVERSION
+tar xvf $CWD/$PRGNAM-$PKGVERSION.tar.gz
+cd $PRGNAM-$PKGVERSION
chown -R root:root .
find -L . \
\( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \