summaryrefslogblamecommitdiff
path: root/user/xkeyboard-config/APKBUILD
blob: 9a49f7ffefaa41b2abefc243b291d78d1c7948ac (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11
12
13
14

                                                 
           










                                                                                                     










                                                    



                  


                                                  

 
                                                                                                                                                                            
# Maintainer: A. Wilcox <awilfox@adelielinux.org>
pkgname=xkeyboard-config
pkgver=2.26
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 xkbcomp"
subpackages="$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="5c8a31f7a6ad5daed8a3fceb56230b2e2fc04a25f52a43b3b4ea81e4a6ab15c52869f749c4b747d855cd4b618c04bcbb40e85dec7eab31fbe3bd45e8c9b755ef  xkeyboard-config-2.26.tar.bz2"