summaryrefslogtreecommitdiffstats
path: root/main/xkeyboard-config/APKBUILD
blob: eadffbee8ffca5bf648d18f96610042360fa380c (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
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=xkeyboard-config
pkgver=1.6
pkgrel=0
pkgdesc="X keyboard configuration files"
url="http://www.freedesktop.org/wiki/Software/XKeyboardConfig"
arch="x86 x86_64"
license="custom"
depends=
makedepends="xkbcomp intltool"
source="http://xlibs.freedesktop.org/xkbdesc/$pkgname-$pkgver.tar.bz2"

build () {
	cd "$srcdir"/$pkgname-$pkgver

	./configure --prefix=/usr \
		--with-xkb-base=/usr/share/X11/xkb \
		--with-xkb-rules-symlink=xorg \
		--enable-compat-rules=yes || return 1
	make || return 1
	make DESTDIR="$pkgdir" install || return 1
	rm -f "$pkgdir"/usr/share/X11/xkb/compiled || return 1
	install -m755 -d "$pkgdir"/var/lib/xkb
	install -Dm644 COPYING "$pkgdir"/usr/share/licenses/$pkgname/COPYING
}
md5sums="5ae575a9073af12cd71773e065b38b3a  xkeyboard-config-1.6.tar.bz2"