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 | |
download | aur-84a49dfd63d96593bf513b7e4db879219190b8ce.tar.gz |
initial upload
-rw-r--r-- | .SRCINFO | 21 | ||||
-rw-r--r-- | PKGBUILD | 37 |
2 files changed, 58 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..fc70a7f508af --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,21 @@ +pkgbase = xkeyboard-config-git + pkgdesc = X keyboard configuration files + pkgver = 2.31 + pkgrel = 1 + url = https://www.freedesktop.org/wiki/Software/XKeyboardConfig + arch = any + license = custom + makedepends = intltool + makedepends = xorg-xkbcomp + makedepends = libxslt + makedepends = python + provides = xkbdata + provides = xkeyboard-config + conflicts = xkbdata + conflicts = xkeyboard-config + replaces = xkbdata + source = git+https://gitlab.freedesktop.org/xkeyboard-config/xkeyboard-config.git + sha512sums = SKIP + +pkgname = xkeyboard-config-git + 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}/" +} |