summaryrefslogtreecommitdiffstats
path: root/libxkbcommon
diff options
context:
space:
mode:
author Eric Hameleers <alien@slackware.com>2018-09-22 10:31:07 +0000
committer Eric Hameleers <alien@slackware.com>2018-09-22 10:31:07 +0000
commit5d78fe3eeff5c34cedf85f67f5e47617338c3509 (patch)
treec1cf5a4791091acf6542935e6863ba0b81c82163 /libxkbcommon
parent93c2652b436921382d30cc8ff0bd46638592f6e5 (diff)
downloadasb-5d78fe3eeff5c34cedf85f67f5e47617338c3509.tar.gz
asb-5d78fe3eeff5c34cedf85f67f5e47617338c3509.tar.xz
libxkbcommon: updated to 0.8.2
Diffstat (limited to 'libxkbcommon')
-rwxr-xr-xlibxkbcommon/build/libxkbcommon.SlackBuild17
1 files changed, 13 insertions, 4 deletions
diff --git a/libxkbcommon/build/libxkbcommon.SlackBuild b/libxkbcommon/build/libxkbcommon.SlackBuild
index 22af0bb6..442bb489 100755
--- a/libxkbcommon/build/libxkbcommon.SlackBuild
+++ b/libxkbcommon/build/libxkbcommon.SlackBuild
@@ -1,7 +1,7 @@
#!/bin/sh
# Copyright 2015 Patrick J. Volkerding, Sebeka, MN, USA
-# Copyright 2015, 2017 Eric Hameleers, Eindhoven, NL
+# Copyright 2015, 2017, 2018 Eric Hameleers, Eindhoven, NL
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -22,11 +22,12 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PKGNAM=libxkbcommon
-VERSION=${VERSION:-0.8.0}
+VERSION=${VERSION:-0.8.2}
BUILD=${BUILD:-1}
-CWD=$(pwd)
TMP=${TMP:-/tmp}
PKG=$TMP/package-$PKGNAM
@@ -64,11 +65,19 @@ case "$ARCH" in
*) TARGET=$ARCH-slackware-linux ;;
esac
+# 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 "$PKGNAM-$VERSION-$ARCH-$BUILD.txz"
+ exit 0
+fi
+
rm -rf $PKG
mkdir -p $TMP $PKG
cd $TMP
rm -rf $PKGNAM-$VERSION
-tar xvf $CWD/$PKGNAM-$VERSION.tar.xz || exit 1
+tar xf $CWD/$PKGNAM-$VERSION.tar.xz || exit 1
cd $PKGNAM-$VERSION || exit 1
chown -R root:root .
find -L . \