aboutsummaryrefslogtreecommitdiffstats
path: root/main
diff options
context:
space:
mode:
authorA. Wilcox <AWilcox@Wilcox-Tech.com>2017-08-17 04:22:23 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2017-09-19 10:54:41 +0000
commitab97ffd41d300476932d4196fe76bd0c7f60d6fc (patch)
treea7f7650cb0b05520c0d24f8d8fd9a14ceb13bb14 /main
parent96704c43f58244f67537891e2f95a7c660213f16 (diff)
downloadaports-ab97ffd41d300476932d4196fe76bd0c7f60d6fc.tar.bz2
aports-ab97ffd41d300476932d4196fe76bd0c7f60d6fc.tar.xz
main/xkbcomp: add test suite, modernise
Diffstat (limited to 'main')
-rw-r--r--main/xkbcomp/APKBUILD14
1 files changed, 9 insertions, 5 deletions
diff --git a/main/xkbcomp/APKBUILD b/main/xkbcomp/APKBUILD
index 6e0637d8f1..8f5e20c7fb 100644
--- a/main/xkbcomp/APKBUILD
+++ b/main/xkbcomp/APKBUILD
@@ -2,13 +2,13 @@
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=xkbcomp
pkgver=1.4.0
-pkgrel=1
+pkgrel=2
pkgdesc="compile XKB keyboard description"
url="http://xorg.freedesktop.org"
arch="all"
license="custom"
depends=
-makedepends="libx11-dev libxkbfile-dev"
+makedepends="libx11-dev libxkbfile-dev util-macros"
subpackages="$pkgname-dev $pkgname-doc"
source="http://www.x.org/releases/individual/app/$pkgname-$pkgver.tar.bz2"
@@ -22,9 +22,13 @@ build() {
--prefix=/usr \
--sysconfdir=/etc \
--mandir=/usr/share/man \
- --infodir=/usr/share/info \
- || return 1
- make || return 1
+ --infodir=/usr/share/info
+ make
+}
+
+check() {
+ cd "$builddir"
+ make check
}
package() {