updated on Thu Jan 19 20:01:47 UTC 2012
[aur-mirror.git] / xkeyboard-config-il / PKGBUILD
blobf40cd9ce44ead700bffd130c97781d0f3e0a9c66
1 # Maintainer: Jan de Groot <jgc@archlinux.org>
2 # il - new SI1452: Yoel Lion <vbmithr@gmail.com>
3 pkgname=xkeyboard-config-il
4 pkgbasename=xkeyboard-config
5 pkgver=2.4.1
6 pkgrel=2
7 pkgdesc="X keyboard configuration files with new SI1452 layout patch"
8 arch=(any)
9 license=('custom')
10 url="http://www.freedesktop.org/wiki/Software/XKeyboardConfig"
11 depends=('xorg-xkbcomp')
12 makedepends=('intltool')
13 provides=('xkeyboard-config' 'xkbdata')
14 replaces=('xkeyboard-config' 'xkbdata')
15 conflicts=('xkeyboard-config' 'xkbdata')
16 source=(http://xorg.freedesktop.org/releases/individual/data/${pkgbasename}-${pkgver}.tar.bz2 
17 il.patch extra.patch)
18 sha256sums=('f048bdd6e3d71c621b5a47a7ee72d691eda1922e0e07808b157b292e0c857a0a' 
19 '8724e737f381464eccb7f7bd07464249ae3b81396f8b6437c7e8088bc1b58856' 
20 'a3910232a45b9bca6a4239d431a109ff83e7d1d21719f8295ab6f4ffff9b79ed')
22 build() {
23   cd "${srcdir}/${pkgbasename}-${pkgver}"
24   patch -p1 < ${srcdir}/il.patch
25   patch -p1 < ${srcdir}/extra.patch
26   ./configure --prefix=/usr \
27       --with-xkb-base=/usr/share/X11/xkb \
28       --with-xkb-rules-symlink=xorg \
29       --enable-compat-rules=yes
30   make
31   make DESTDIR="${pkgdir}" install
32   rm -f "${pkgdir}/usr/share/X11/xkb/compiled"
33   install -m755 -d "${pkgdir}/var/lib/xkb"
34   install -m755 -d "${pkgdir}/usr/share/licenses/${pkgbasename}"
35   install -m644 COPYING "${pkgdir}/usr/share/licenses/${pkgbasename}/"