diff options
Diffstat (limited to 'desktop/lumina/lumina.SlackBuild')
-rw-r--r-- | desktop/lumina/lumina.SlackBuild | 11 |
1 files changed, 3 insertions, 8 deletions
diff --git a/desktop/lumina/lumina.SlackBuild b/desktop/lumina/lumina.SlackBuild index d84e4ecb01..289a210c90 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 \ |