diff options
author | Eric Hameleers <alien@slackware.com> | 2018-09-22 12:56:48 +0200 |
---|---|---|
committer | Eric Hameleers <alien@slackware.com> | 2018-09-22 12:56:48 +0200 |
commit | bb4433ddbf1c0cee32f491d93afa898a32d86376 (patch) | |
tree | 27ac7387de084d3c983f27ddff6cb4e0587f2eb4 /deps/libxkbcommon/libxkbcommon.SlackBuild | |
parent | 7b03ad843b44e5b717adf5b2de6b00cb498c2024 (diff) | |
download | ktown-bb4433ddbf1c0cee32f491d93afa898a32d86376.tar.gz ktown-bb4433ddbf1c0cee32f491d93afa898a32d86376.tar.xz |
Updated and rebuilt some of the deps
OpenAL: updated
cryfs: rebuilt against the new cryptopp
cryptopp: updated
libxkbcommon: updated
qt5: updated
Diffstat (limited to 'deps/libxkbcommon/libxkbcommon.SlackBuild')
-rwxr-xr-x | deps/libxkbcommon/libxkbcommon.SlackBuild | 17 |
1 files changed, 13 insertions, 4 deletions
diff --git a/deps/libxkbcommon/libxkbcommon.SlackBuild b/deps/libxkbcommon/libxkbcommon.SlackBuild index 22af0bb..442bb48 100755 --- a/deps/libxkbcommon/libxkbcommon.SlackBuild +++ b/deps/libxkbcommon/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 . \ |