From c6c0100762b3f8e10b37fa9492953384799c8d88 Mon Sep 17 00:00:00 2001 From: "A. Wilcox" Date: Sat, 2 Sep 2017 16:55:37 -0500 Subject: main/libxkbcommon: add test suite --- main/libxkbcommon/APKBUILD | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/main/libxkbcommon/APKBUILD b/main/libxkbcommon/APKBUILD index 6ef35f8a00..658f2a6ca5 100644 --- a/main/libxkbcommon/APKBUILD +++ b/main/libxkbcommon/APKBUILD @@ -2,12 +2,13 @@ # Maintainer: William Pitcock pkgname=libxkbcommon pkgver=0.7.1 -pkgrel=0 +pkgrel=1 pkgdesc="a keyboard handling library" url="http://www.xkbcommon.org/" arch="all" license="MIT" -makedepends="$depends_dev bison flex libxcb-dev" +makedepends="bison flex libxcb-dev xproto kbproto util-macros" +checkdepends="bash" subpackages="$pkgname-dev" source="http://xkbcommon.org/download/libxkbcommon-$pkgver.tar.xz" @@ -26,6 +27,11 @@ build() { make } +check() { + cd "$builddir" + make check +} + package() { cd "$builddir" make DESTDIR="$pkgdir" install -- cgit v1.2.3