aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--desktop/sxhkd/README2
-rw-r--r--desktop/sxhkd/slack-desc2
-rw-r--r--desktop/sxhkd/sxhkd.SlackBuild19
-rw-r--r--desktop/sxhkd/sxhkd.info6
4 files changed, 17 insertions, 12 deletions
diff --git a/desktop/sxhkd/README b/desktop/sxhkd/README
index 1202bc20845f..f7af5fe94854 100644
--- a/desktop/sxhkd/README
+++ b/desktop/sxhkd/README
@@ -1,2 +1,4 @@
+sxhkd - Simple X hotkey daemon
+
sxhkd is a simple X hotkey daemon with a powerful and compact
configuration syntax.
diff --git a/desktop/sxhkd/slack-desc b/desktop/sxhkd/slack-desc
index 158ab783a0df..a89e842979df 100644
--- a/desktop/sxhkd/slack-desc
+++ b/desktop/sxhkd/slack-desc
@@ -11,7 +11,7 @@ sxhkd:
sxhkd: sxhkd is a simple X hotkey daemon with a powerful and compact
sxhkd: configuration syntax.
sxhkd:
-sxhkd: homepage: https://github.com/baskerville/sxhkd
+sxhkd:
sxhkd:
sxhkd:
sxhkd:
diff --git a/desktop/sxhkd/sxhkd.SlackBuild b/desktop/sxhkd/sxhkd.SlackBuild
index bda640d0102d..0c2137d8905c 100644
--- a/desktop/sxhkd/sxhkd.SlackBuild
+++ b/desktop/sxhkd/sxhkd.SlackBuild
@@ -2,7 +2,7 @@
# Slackware build script for sxhkd
-# Copyright 2013 John Vogel Corning, NY USA
+# Copyright 2013-2014 John Vogel Corning, NY USA
# 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=sxhkd
-VERSION=${VERSION:-0.5.3}
+VERSION=${VERSION:-0.5.4}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -60,14 +60,19 @@ rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
rm -rf $PRGNAM-$VERSION
-tar xvf $CWD/$VERSION.tar.gz || tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
+if [ ! -f $CWD/$PRGNAM-$VERSION.tar.gz ]; then
+ if [ -f $CWD/$VERSION.tar.gz ]; then
+ mv $CWD/$VERSION.tar.gz $CWD/$PRGNAM-$VERSION.tar.gz
+ fi
+fi
+tar xvf $CWD/$PRGNAM-$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 \
+ -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" \
@@ -81,9 +86,7 @@ find $PKG/usr/man -type f -exec gzip -9 {} \;
for i in $( find $PKG/usr/man -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp -a \
- LICENSE doc/sxhkd.1.txt examples \
- $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a LICENSE doc/sxhkd.1.txt examples $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
mkdir -p $PKG/install
diff --git a/desktop/sxhkd/sxhkd.info b/desktop/sxhkd/sxhkd.info
index 44f925cf90f0..f0434b0783bd 100644
--- a/desktop/sxhkd/sxhkd.info
+++ b/desktop/sxhkd/sxhkd.info
@@ -1,8 +1,8 @@
PRGNAM="sxhkd"
-VERSION="0.5.3"
+VERSION="0.5.4"
HOMEPAGE="https://github.com/baskerville/sxhkd"
-DOWNLOAD="https://github.com/baskerville/sxhkd/archive/0.5.3.tar.gz"
-MD5SUM="1bca555b0eae317b1dcde37e8545beb4"
+DOWNLOAD="https://github.com/baskerville/sxhkd/archive/0.5.4.tar.gz"
+MD5SUM="8189596dca5ca535397ae10ffcf0ac0c"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""