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

name=xkeyboard-config
version=1.8
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 
}