summaryrefslogtreecommitdiffstats
path: root/xorg/xkeyboard-config/Pkgfile
blob: 5713a9099de240f7cfe5b4a112bd4cf5bef6c441 (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
# Description: X keyboard configuration database
# URL: http://www.freedesktop.org/wiki/Software_2fXKeyboardConfig
# Maintainer: Tilman Sauerbeck, tilman at crux dot nu
# Depends on: xorg-xkbcomp, intltool

name=xkeyboard-config
version=1.7
release=1
source=(http://xlibs.freedesktop.org/xkbdesc/$name-$version.tar.bz2)

build() {
	cd xkeyboard-config-$version

	./configure --prefix=/usr \
	            --with-xkb-base=/usr/share/X11/xkb \
	            --with-xkb-rules-symlink=xorg

	make
	make DESTDIR=$PKG install

	rm -rf $PKG/usr/share/locale

	ln -s /var/lib/xkb $PKG/usr/share/X11/xkb/compiled 
}