summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorA. Wilcox <AWilcox@Wilcox-Tech.com>2018-07-09 00:06:37 -0500
committerA. Wilcox <AWilcox@Wilcox-Tech.com>2018-07-09 00:06:37 -0500
commitbcbea0a7befadbe049f96181dad4166d27920883 (patch)
tree6044ad1748d4d0b8d7c30ba7d37c7524033d7213
parent3032efbe7e9e96f0ed8a9ea3b7cf424800fbbc5a (diff)
downloadpackages-bcbea0a7befadbe049f96181dad4166d27920883.tar.gz
packages-bcbea0a7befadbe049f96181dad4166d27920883.tar.bz2
packages-bcbea0a7befadbe049f96181dad4166d27920883.tar.xz
packages-bcbea0a7befadbe049f96181dad4166d27920883.zip
user/libxkbcommon: pull in, bump, fix
-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"