2018-09-10 00:42:26 +02:00
|
|
|
TERMUX_PKG_HOMEPAGE=https://www.freedesktop.org/wiki/Software/XKeyboardConfig/
|
|
|
|
TERMUX_PKG_DESCRIPTION="X keyboard configuration files"
|
2019-01-21 17:50:21 +01:00
|
|
|
TERMUX_PKG_LICENSE="MIT"
|
2020-05-14 00:01:15 +02:00
|
|
|
TERMUX_PKG_MAINTAINER="Leonid Pliushch <leonid.pliushch@gmail.com>"
|
2020-02-10 13:58:36 +01:00
|
|
|
TERMUX_PKG_VERSION=2.29
|
2020-05-14 00:02:42 +02:00
|
|
|
TERMUX_PKG_REVISION=6
|
2018-09-10 00:42:26 +02:00
|
|
|
TERMUX_PKG_SRCURL=https://xorg.freedesktop.org/archive/individual/data/xkeyboard-config/xkeyboard-config-${TERMUX_PKG_VERSION}.tar.bz2
|
2020-02-10 13:58:36 +01:00
|
|
|
TERMUX_PKG_SHA256=1d4175278bf06000683656763a8b1d3282c61a314b6db41260c8efe92d621802
|
2018-09-10 00:42:26 +02:00
|
|
|
TERMUX_PKG_PLATFORM_INDEPENDENT=true
|
2018-12-15 19:29:05 +01:00
|
|
|
TERMUX_PKG_BUILD_DEPENDS="libx11"
|
2018-09-10 00:42:26 +02:00
|
|
|
|
|
|
|
TERMUX_PKG_EXTRA_CONFIGURE_ARGS="
|
|
|
|
--with-xkb-rules-symlink=xorg
|
|
|
|
--with-xkb-base=${TERMUX_PREFIX}/share/X11/xkb
|
|
|
|
--enable-compat-rules=yes
|
|
|
|
"
|
|
|
|
|
|
|
|
termux_step_post_make_install() {
|
2019-01-21 17:50:21 +01:00
|
|
|
if [ -f "${TERMUX_PREFIX}/share/pkgconfig/xkeyboard-config.pc" ]; then
|
|
|
|
mkdir -p "${TERMUX_PREFIX}/lib/pkgconfig" || exit 1
|
|
|
|
mv -f "${TERMUX_PREFIX}/share/pkgconfig/xkeyboard-config.pc" "${TERMUX_PREFIX}/lib/pkgconfig/xkeyboard-config.pc" || exit 1
|
|
|
|
fi
|
2018-09-10 00:42:26 +02:00
|
|
|
}
|