blob: 468cfe40ecbc334bc310d135598c1219be8f4a21 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
|
# Maintainer: Gonzalo Exequiel Pedone <hipersayan DOT x AT gmail DOT com>
# Contributor: Andreas Radke <andyrtr@archlinux.org>
_android_arch=x86
pkgname=android-${_android_arch}-xkeyboard-config
pkgver=2.43
pkgrel=1
arch=('any')
pkgdesc="X keyboard configuration files (Android ${_android_arch})"
license=('LicenseRef-xkeyboard-config')
url="https://gitlab.freedesktop.org/xkeyboard-config/xkeyboard-config"
groups=('android-xkeyboard-config')
makedepends=('android-meson'
"android-${_android_arch}-libxslt"
'python')
options=(!strip !buildflags staticlibs !emptydirs)
source=("https://xorg.freedesktop.org/archive/individual/data/xkeyboard-config/xkeyboard-config-${pkgver}.tar.xz")
md5sums=('2f6226ecd797f7afc5a2e83726383cf1')
build() {
cd "${srcdir}/xkeyboard-config-${pkgver}"
source android-env ${_android_arch}
android-${_android_arch}-meson build \
-D xkb-base="${ANDROID_PREFIX_SHARE}/X11/xkb" \
-D compat-rules=true \
-D xorg-rules-symlinks=true
ninja -C build
}
package() {
cd "${srcdir}/xkeyboard-config-${pkgver}"
source android-env ${_android_arch}
DESTDIR="$pkgdir" ninja -C build install
rm -rf "${pkgdir}/${ANDROID_PREFIX_SHARE}/man"
}
|