summaryrefslogtreecommitdiffstats
path: root/abs/core/xkeyboard-config/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'abs/core/xkeyboard-config/PKGBUILD')
-rw-r--r--abs/core/xkeyboard-config/PKGBUILD30
1 files changed, 30 insertions, 0 deletions
diff --git a/abs/core/xkeyboard-config/PKGBUILD b/abs/core/xkeyboard-config/PKGBUILD
new file mode 100644
index 0000000..5b26253
--- /dev/null
+++ b/abs/core/xkeyboard-config/PKGBUILD
@@ -0,0 +1,30 @@
+# $Id: PKGBUILD 7542 2008-08-02 21:31:59Z jgc $
+# Maintainer: Alexander Baldeck <kth5@archlinux.org>
+pkgname=xkeyboard-config
+pkgver=1.3
+pkgrel=1
+pkgdesc="X keyboard configuration files"
+arch=(i686 x86_64)
+license=('custom')
+url="http://www.freedesktop.org/wiki/Software/XKeyboardConfig"
+depends=('xorg-xkb-utils')
+makedepends=('perlxml' 'pkgconfig')
+provides=('xkbdata')
+replaces=('xkbdata')
+conflicts=('xkbdata')
+source=(http://xlibs.freedesktop.org/xkbdesc/xkeyboard-config-${pkgver}.tar.bz2)
+md5sums=('d9e9f69f9c6ef5c5a8255cfbe6a57d51')
+
+build() {
+ cd ${startdir}/src/${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=${startdir}/pkg install || return 1
+ rm -f ${startdir}/pkg/usr/share/X11/xkb/compiled || return 1
+ install -m755 -d ${startdir}/pkg/var/lib/xkb
+ install -m755 -d ${startdir}/pkg/usr/share/licenses/${pkgname}
+ install -m644 COPYING ${startdir}/pkg/usr/share/licenses/${pkgname}/ || return 1
+}