summaryrefslogtreecommitdiff
path: root/user/xkeyboard-config/APKBUILD
blob: 63d9e1f64fad4f7ac4770753f3147e4d30c20bf0 (plain) (blame)
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
# Maintainer: A. Wilcox <awilfox@adelielinux.org>
pkgname=xkeyboard-config
pkgver=2.30
pkgrel=0
pkgdesc="Keyboard configuration files for X11"
url="https://www.freedesktop.org/wiki/Software/XKeyboardConfig"
arch="noarch"
license="X11 AND MIT"
depends=""
makedepends="intltool libx11-dev python3 xkbcomp libxslt"
subpackages="$pkgname-doc $pkgname-lang"
source="https://www.X.Org/releases/individual/data/xkeyboard-config/xkeyboard-config-$pkgver.tar.bz2"

build() {
	./configure \
		--build=$CBUILD \
		--host=$CHOST \
		--prefix=/usr \
		--with-xkb-base=/usr/share/X11/xkb \
		--with-xkb-rules-symlink=xorg \
		--enable-compat-rules=yes
	make
}

check() {
	make check
}

package() {
	make DESTDIR="$pkgdir" install
	rm -f "$pkgdir"/usr/share/X11/xkb/compiled
	install -m755 -d "$pkgdir"/var/lib/xkb
}

sha512sums="2d775dcaab49d80f62b8eaadc9be406b42c9a3643d3a360f864a462c61865abce67d0a8a80772d54f8136603114c61b5168fd06771f9c132411911914abb1ea4  xkeyboard-config-2.30.tar.bz2"