diff options
Diffstat (limited to 'user/libxkbcommon/APKBUILD')
-rw-r--r-- | user/libxkbcommon/APKBUILD | 31 |
1 files changed, 13 insertions, 18 deletions
diff --git a/user/libxkbcommon/APKBUILD b/user/libxkbcommon/APKBUILD index 6dc619982..15791113f 100644 --- a/user/libxkbcommon/APKBUILD +++ b/user/libxkbcommon/APKBUILD @@ -1,38 +1,33 @@ # Contributor: William Pitcock <nenolod@dereferenced.org> # Maintainer: A. Wilcox <awilfox@adelielinux.org> pkgname=libxkbcommon -pkgver=0.8.4 +pkgver=0.10.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" +depends="xkeyboard-config" checkdepends="bash" -subpackages="$pkgname-dev" +makedepends="bison doxygen flex libxcb-dev meson ninja util-macros + xorgproto-dev" +subpackages="$pkgname-dev $pkgname-doc" 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 + meson \ + -Dprefix=/usr \ + -Denable-wayland=false \ + build + ninja -C build } check() { - cd "$builddir" - make check + ninja -C build test } package() { - cd "$builddir" - make DESTDIR="$pkgdir" install + DESTDIR="$pkgdir" ninja -C build install } -sha512sums="dbd441d0d7d5ba4fb352d64d150d163d4cdcf8340059457c291dc1fc69d1606ff6589732cb41a7fcfe106af0192977b243d7d68c4d95b90ece7abb620df360e3 libxkbcommon-0.8.4.tar.xz" +sha512sums="58c523b42a8ea0cae7322d453fbc5d4624374221246cb067074e2ff9820eef3ceea8686283136432cdf0842acfc0858c7b2d3954de234b6501092ae1d27c9e79 libxkbcommon-0.10.0.tar.xz" |