summaryrefslogtreecommitdiffstats
path: root/xorg/xkeyboard-config/Pkgfile
blob: 897ca36e7a6833faaa05fe2551232866cff52518 (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
26
# 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
# Run on:

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 
}