aboutsummaryrefslogtreecommitdiff
path: root/desktop/xdgurl/xdgurl.SlackBuild
diff options
context:
space:
mode:
authorDavid Spencer <baildon.research@googlemail.com>2017-03-26 14:27:40 +0100
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2017-04-01 06:56:54 +0700
commit78ef7e8621119e25c4cdf6ca2d14fd8dd45c71f6 (patch)
tree8049128a1f556545da6033d386c64746848b22c1 /desktop/xdgurl/xdgurl.SlackBuild
parente7f63a85bc8d38a0aa84c6c86b79cd23b77b4390 (diff)
desktop/xdgurl: Fix tarball handling.
Signed-off-by: David Spencer <idlemoor@slackbuilds.org>
Diffstat (limited to 'desktop/xdgurl/xdgurl.SlackBuild')
-rw-r--r--desktop/xdgurl/xdgurl.SlackBuild7
1 files changed, 3 insertions, 4 deletions
diff --git a/desktop/xdgurl/xdgurl.SlackBuild b/desktop/xdgurl/xdgurl.SlackBuild
index 37d7b318e3ba..6b9e3f3ae3da 100644
--- a/desktop/xdgurl/xdgurl.SlackBuild
+++ b/desktop/xdgurl/xdgurl.SlackBuild
@@ -62,10 +62,9 @@ SRCNAM="ocs-url"
rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
-rm -rf $PRGNAM-$SRCVER
-tar xvf $CWD/$PRGNAM-$SRCVER.tar.gz
-mv $SRCNAM-$SRCVER $PRGNAM-$VERSION
-cd $PRGNAM-$VERSION
+rm -rf $SRCNAM-$SRCVER
+tar xvf $CWD/$SRCNAM-$SRCVER.tar.gz
+cd $SRCNAM-$SRCVER
chown -R root:root .
find -L . \
\( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \