summaryrefslogtreecommitdiffstats
path: root/system/xbindkeys
diff options
context:
space:
mode:
Diffstat (limited to 'system/xbindkeys')
-rw-r--r--system/xbindkeys/README8
-rw-r--r--system/xbindkeys/xbindkeys.SlackBuild20
-rw-r--r--system/xbindkeys/xbindkeys.info8
3 files changed, 23 insertions, 13 deletions
diff --git a/system/xbindkeys/README b/system/xbindkeys/README
index 7fbbd7a9e4..3ee2225d1a 100644
--- a/system/xbindkeys/README
+++ b/system/xbindkeys/README
@@ -1,4 +1,4 @@
-xbindkeys is a program that allows you to launch shell commands with your
-keyboard or your mouse under X Windows. It links commands to keys or mouse
-buttons, using a configuration file. It's independant of the window manager
-and can capture all keyboard keys (ex: Power, Wake...).
+xbindkeys is a program that allows you to launch shell commands with
+your keyboard or your mouse under X Windows. It links commands to keys
+or mouse buttons, using a configuration file. It's independant of the
+window manager and can capture all keyboard keys (ex: Power, Wake...).
diff --git a/system/xbindkeys/xbindkeys.SlackBuild b/system/xbindkeys/xbindkeys.SlackBuild
index 97b61cf59e..9d66578e8e 100644
--- a/system/xbindkeys/xbindkeys.SlackBuild
+++ b/system/xbindkeys/xbindkeys.SlackBuild
@@ -1,8 +1,8 @@
-#!/bin/sh
+#!/bin/bash
#
# Slackware build script for xbindkeys
#
-# Copyright 2009-2015 Erik W. Hanson, Minneapolis, MN, USA
+# Copyright 2009-2022 Erik W. Hanson, Minneapolis, MN, USA
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -22,10 +22,13 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=xbindkeys
-VERSION=${VERSION:-1.8.6}
+VERSION=${VERSION:-1.8.7}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -35,7 +38,14 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
@@ -94,4 +104,4 @@ mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/system/xbindkeys/xbindkeys.info b/system/xbindkeys/xbindkeys.info
index b9128f4b0d..2856be1820 100644
--- a/system/xbindkeys/xbindkeys.info
+++ b/system/xbindkeys/xbindkeys.info
@@ -1,10 +1,10 @@
PRGNAM="xbindkeys"
-VERSION="1.8.6"
+VERSION="1.8.7"
HOMEPAGE="http://www.nongnu.org/xbindkeys/xbindkeys.html"
-DOWNLOAD="http://www.nongnu.org/xbindkeys/xbindkeys-1.8.6.tar.gz"
-MD5SUM="c6ea9db56e075dae0697497e2ed390cc"
+DOWNLOAD="http://www.nongnu.org/xbindkeys/xbindkeys-1.8.7.tar.gz"
+MD5SUM="b5e1a9668ba13ff8673836d1d965d951"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
-REQUIRES=""
+REQUIRES="guile2.2"
MAINTAINER="Erik Hanson"
EMAIL="erik@slackbuilds.org"