summaryrefslogtreecommitdiffstats
path: root/system/logkeys/logkeys.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'system/logkeys/logkeys.SlackBuild')
-rw-r--r--system/logkeys/logkeys.SlackBuild9
1 files changed, 4 insertions, 5 deletions
diff --git a/system/logkeys/logkeys.SlackBuild b/system/logkeys/logkeys.SlackBuild
index 8a3794c40c..495355462b 100644
--- a/system/logkeys/logkeys.SlackBuild
+++ b/system/logkeys/logkeys.SlackBuild
@@ -2,7 +2,7 @@
# Slackware build script for logkeys
-# Copyright 2014 Dimitris Zlatanidis Greece-Orestiada
+# Copyright 2014-2016 Dimitris Zlatanidis Orestiada, Greece
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -23,7 +23,7 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=logkeys
-VERSION=${VERSION:-0.1.1a}
+VERSION=${VERSION:-0.1.1c}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -60,14 +60,14 @@ rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
rm -rf $PRGNAM-$VERSION
-tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
+tar xvf $CWD/$PRGNAM-$VERSION.tar.gz || tar xvf $CWD/$VERSION.tar.gz
cd $PRGNAM-$VERSION
chown -R root:root .
find -L . \
\( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
-o -perm 511 \) -exec chmod 755 {} \; -o \
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
- -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
+ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
@@ -103,4 +103,3 @@ cat $CWD/slack-desc > $PKG/install/slack-desc
cd $PKG
/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
-