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

                                                 
           





                                                               
                                                      
                                        


                                                                                                     










                                                    



                  


                                                  

 
                                                                                                                                                                            
# Maintainer: A. Wilcox <awilfox@adelielinux.org>
pkgname=xkeyboard-config
pkgver=2.28
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 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="be38e61a7d3a1c03f9dc92fed5aada65fdb8b42272e874e01156a39de07f2a7c81846e9ba449aeb95661587f8d05217d549a1315ee0dd92facbb6158362e68ae  xkeyboard-config-2.28.tar.bz2"