diff options
author | Vincent Grande | 2020-10-08 16:05:59 -0400 |
---|---|---|
committer | Vincent Grande | 2020-10-08 16:05:59 -0400 |
commit | 84a49dfd63d96593bf513b7e4db879219190b8ce (patch) | |
tree | be845610ece7a470dc16308db8cd7e651456027a /PKGBUILD | |
download | aur-84a49dfd63d96593bf513b7e4db879219190b8ce.tar.gz |
initial upload
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 37 |
1 files changed, 37 insertions, 0 deletions
diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..8f4ba2ba3a64 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,37 @@ +# Maintainer: Vincent Grande <shoober420@gmail.com> +# Contributor: Andreas Radke <andyrtr@archlinux.org> +# Contributor: Jan de Groot <jgc@archlinux.org> + +pkgname=xkeyboard-config-git +pkgver=2.31 +pkgrel=1 +pkgdesc="X keyboard configuration files" +arch=(any) +license=('custom') +url="https://www.freedesktop.org/wiki/Software/XKeyboardConfig" +makedepends=('intltool' 'xorg-xkbcomp' 'libxslt' 'python') +provides=('xkbdata' 'xkeyboard-config') +replaces=('xkbdata') +conflicts=('xkbdata' 'xkeyboard-config') +source=(git+https://gitlab.freedesktop.org/xkeyboard-config/xkeyboard-config.git) +sha512sums=('SKIP') + +build() { + cd xkeyboard-config + ./configure --prefix=/usr \ + --with-xkb-base=/usr/share/X11/xkb \ + --with-xkb-rules-symlink=xorg \ + --enable-compat-rules=yes + make + } + + package() { + cd xkeyboard-config + + make DESTDIR="${pkgdir}" install + rm -f "${pkgdir}/usr/share/X11/xkb/compiled" + + install -m755 -d "${pkgdir}/var/lib/xkb" + install -m755 -d "${pkgdir}/usr/share/licenses/${pkgname}" + install -m644 COPYING "${pkgdir}/usr/share/licenses/${pkgname}/" +} |