summaryrefslogtreecommitdiff
path: root/user/libxkbcommon
diff options
context:
space:
mode:
Diffstat (limited to 'user/libxkbcommon')
-rw-r--r--user/libxkbcommon/APKBUILD38
1 files changed, 38 insertions, 0 deletions
diff --git a/user/libxkbcommon/APKBUILD b/user/libxkbcommon/APKBUILD
new file mode 100644
index 000000000..64ad224f4
--- /dev/null
+++ b/user/libxkbcommon/APKBUILD
@@ -0,0 +1,38 @@
+# Contributor: William Pitcock <nenolod@dereferenced.org>
+# Maintainer: William Pitcock <nenolod@dereferenced.org>
+pkgname=libxkbcommon
+pkgver=0.8.0
+pkgrel=0
+pkgdesc="Keyboard handling library"
+url="https://www.xkbcommon.org/"
+arch="all"
+license="MIT AND X11"
+makedepends="bison flex libxcb-dev util-macros xorgproto-dev"
+checkdepends="bash"
+subpackages="$pkgname-dev"
+source="https://www.xkbcommon.org/download/libxkbcommon-$pkgver.tar.xz"
+
+build() {
+ cd "$builddir"
+ ./configure \
+ --build=$CBUILD \
+ --host=$CHOST \
+ --prefix=/usr \
+ --sysconfdir=/etc \
+ --mandir=/usr/share/man \
+ --infodir=/usr/share/info \
+ --localstatedir=/var
+ make
+}
+
+check() {
+ cd "$builddir"
+ make check
+}
+
+package() {
+ cd "$builddir"
+ make DESTDIR="$pkgdir" install
+}
+
+sha512sums="ad64baa03685b72e1047f9fdfc95661acf5bace59280a95d3defaca73c91fb77c31ecde00b430726e3521ff90cf8dd93ecbc816c18be0971cb616e00b81cf163 libxkbcommon-0.8.0.tar.xz"