2013-12-18 18:21:35 +08:00
|
|
|
# Part of the X.org group
|
|
|
|
# Maintainer: Neophytos Kolokotronis <tetris4 AT gmail DOT com>
|
2010-10-04 08:02:25 +08:00
|
|
|
|
2010-03-14 23:48:48 +08:00
|
|
|
pkgname=xkeyboard-config
|
2013-12-18 18:21:35 +08:00
|
|
|
pkgver=2.10.1
|
2010-03-14 23:48:48 +08:00
|
|
|
pkgrel=1
|
|
|
|
pkgdesc="X keyboard configuration files"
|
2013-12-18 18:21:35 +08:00
|
|
|
arch=(x86_64)
|
2010-03-14 23:48:48 +08:00
|
|
|
license=('custom')
|
|
|
|
url="http://www.freedesktop.org/wiki/Software/XKeyboardConfig"
|
|
|
|
depends=('xorg-xkb-utils')
|
2011-05-01 18:50:24 +08:00
|
|
|
makedepends=('intltool')
|
2013-03-13 06:29:56 +08:00
|
|
|
source=(http://www.x.org/releases/individual/data/${pkgname}/${pkgname}-${pkgver}.tar.bz2)
|
2013-12-18 18:21:35 +08:00
|
|
|
sha1sums=('09114bfd92f5c5a468a02cb0b3593e8a78adaa0e')
|
2010-03-14 23:48:48 +08:00
|
|
|
|
|
|
|
build() {
|
|
|
|
cd "${srcdir}/${pkgname}-${pkgver}"
|
|
|
|
./configure --prefix=/usr \
|
|
|
|
--with-xkb-base=/usr/share/X11/xkb \
|
|
|
|
--with-xkb-rules-symlink=xorg \
|
2011-05-01 18:50:24 +08:00
|
|
|
--enable-compat-rules=yes
|
|
|
|
make
|
2013-12-18 18:21:35 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
package() {
|
|
|
|
cd "${srcdir}/${pkgname}-${pkgver}"
|
2011-05-01 18:50:24 +08:00
|
|
|
make DESTDIR="${pkgdir}" install
|
|
|
|
rm -f "${pkgdir}/usr/share/X11/xkb/compiled"
|
2010-03-14 23:48:48 +08:00
|
|
|
install -m755 -d "${pkgdir}/var/lib/xkb"
|
|
|
|
install -m755 -d "${pkgdir}/usr/share/licenses/${pkgname}"
|
2011-05-01 18:50:24 +08:00
|
|
|
install -m644 COPYING "${pkgdir}/usr/share/licenses/${pkgname}/"
|
2010-03-14 23:48:48 +08:00
|
|
|
}
|