desktop/sxhkd: Updated for version 0.5.4.

Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
John Vogel 2014-08-04 07:34:31 +07:00 committed by Willy Sudiarto Raharjo
parent 6e5c04bb21
commit a0ec1d6105
4 changed files with 17 additions and 12 deletions

View file

@ -1,2 +1,4 @@
sxhkd - Simple X hotkey daemon
sxhkd is a simple X hotkey daemon with a powerful and compact
configuration syntax.

View file

@ -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:

View file

@ -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

View file

@ -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=""