summaryrefslogblamecommitdiff
path: root/user/xkeyboard-config/APKBUILD
blob: 8ede47ac1b6a6943356777872077636d1241e982 (plain) (tree)
1
2
3
4
5
6
7
8
9

                                                 
           





                                                               
                                                              
                                        


                                                                                                     










                                                    



                  


                                                  

 
                                                                                                                                                                            
# Maintainer: A. Wilcox <awilfox@adelielinux.org>
pkgname=xkeyboard-config
pkgver=2.29
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 cmd:xsltproc"
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="202255af097f3063d76341d1b4a7672662dc645f9bcd7afa87bc966a41db4c20fc6b8f4fbe2fcaec99b6bc458eac10129141a866a165857c46282f6705b78670  xkeyboard-config-2.29.tar.bz2"