summaryrefslogtreecommitdiff
path: root/system/logkeys/logkeys.SlackBuild
diff options
context:
space:
mode:
authorDimitris Zlatanidis <d.zlatanidis@gmail.com>2016-07-11 15:48:15 +0300
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2016-07-17 07:49:47 +0700
commit3b5cbd6bb6c49ae4fea9f91f849ca80927cce57f (patch)
treedb6473b3abba1e0f6a207842b1876d5df8c43ffb /system/logkeys/logkeys.SlackBuild
parent6d76e87363b4a10e645884b5d9872676d0d7e0fe (diff)
downloadslackbuilds-3b5cbd6bb6c49ae4fea9f91f849ca80927cce57f.tar.gz
system/logkeys: Updated for version 0.1.1c.
Signed-off-by: Dimitris Zlatanidis <d.zlatanidis@gmail.com>
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}
-