summaryrefslogtreecommitdiff
path: root/user/xkeyboard-config/APKBUILD
diff options
context:
space:
mode:
authorA. Wilcox <AWilcox@Wilcox-Tech.com>2018-07-13 02:19:21 -0500
committerA. Wilcox <AWilcox@Wilcox-Tech.com>2018-07-13 02:19:21 -0500
commit1cde71fe5eba379d2b376936068471710b2eba80 (patch)
tree4cc91d756e355ce477dccb11bae3c636d95caf60 /user/xkeyboard-config/APKBUILD
parentde2c3a6c1f1c11f38ac0f181aa7c194c01faa180 (diff)
downloadpackages-1cde71fe5eba379d2b376936068471710b2eba80.tar.gz
packages-1cde71fe5eba379d2b376936068471710b2eba80.tar.bz2
packages-1cde71fe5eba379d2b376936068471710b2eba80.tar.xz
packages-1cde71fe5eba379d2b376936068471710b2eba80.zip
user/xkeyboard-config: pull in, bump, take, fix
Diffstat (limited to 'user/xkeyboard-config/APKBUILD')
-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"