summaryrefslogtreecommitdiff
path: root/user/xkeyboard-config
diff options
context:
space:
mode:
Diffstat (limited to 'user/xkeyboard-config')
-rw-r--r--user/xkeyboard-config/APKBUILD40
1 files changed, 40 insertions, 0 deletions
diff --git a/user/xkeyboard-config/APKBUILD b/user/xkeyboard-config/APKBUILD
new file mode 100644
index 000000000..28bd5ede7
--- /dev/null
+++ b/user/xkeyboard-config/APKBUILD
@@ -0,0 +1,40 @@
+# Maintainer: A. Wilcox <awilfox@adelielinux.org>
+pkgname=xkeyboard-config
+pkgver=2.24
+pkgrel=0
+pkgdesc="Keyboard configuration files for X11"
+url="https://www.freedesktop.org/wiki/Software/XKeyboardConfig"
+arch="noarch"
+license="X11 AND MIT"
+depends=""
+makedepends="intltool libx11-dev xkbcomp"
+subpackages="$pkgname-lang"
+source="https://www.X.Org/releases/individual/data/xkeyboard-config/xkeyboard-config-$pkgver.tar.bz2"
+
+build() {
+ cd "$builddir"
+
+ ./configure \
+ --build=$CBUILD \
+ --host=$CHOST \
+ --prefix=/usr \
+ --with-xkb-base=/usr/share/X11/xkb \
+ --with-xkb-rules-symlink=xorg \
+ --enable-compat-rules=yes
+ make
+}
+
+check() {
+ cd "$builddir"
+ make check
+}
+
+package() {
+ cd "$builddir"
+ make DESTDIR="$pkgdir" install
+ rm -f "$pkgdir"/usr/share/X11/xkb/compiled
+ install -m755 -d "$pkgdir"/var/lib/xkb
+ install -Dm644 COPYING "$pkgdir"/usr/share/licenses/$pkgname/COPYING
+}
+
+sha512sums="96b65d18a85443a9bf93d65a4423da6e2b3d44882dae6a03bf46768a92017e9762cf3721361ba399c2873d53782944d0292eb673484f1cd8a8bdbf643e7a1dc0 xkeyboard-config-2.24.tar.bz2"