From aa0f65287c4741529d43e53a1d790ff838c39b02 Mon Sep 17 00:00:00 2001 From: "A. Wilcox" Date: Sat, 5 Aug 2017 19:54:37 +0000 Subject: main/pcre: add tests --- main/pcre/APKBUILD | 14 +++++++++----- 1 file changed, 9 insertions(+), 5 deletions(-) (limited to 'main/pcre') diff --git a/main/pcre/APKBUILD b/main/pcre/APKBUILD index 91b22aee1a..341e4a2dba 100644 --- a/main/pcre/APKBUILD +++ b/main/pcre/APKBUILD @@ -2,7 +2,7 @@ # Maintainer: Natanael Copa pkgname=pcre pkgver=8.41 -pkgrel=0 +pkgrel=1 pkgdesc="Perl-compatible regular expression library" url="http://pcre.sourceforge.net" arch="all" @@ -35,15 +35,19 @@ build() { --enable-pcre32 \ --with-match-limit-recursion=8192 \ --htmldir=/usr/share/doc/$pkgname-$pkgver/html \ - --docdir=/usr/share/doc/$pkgname-$pkgver \ - || return 1 + --docdir=/usr/share/doc/$pkgname-$pkgver - make || return 1 + make } package() { cd "$builddir" - make DESTDIR="$pkgdir" install || return 1 + make DESTDIR="$pkgdir" install +} + +check() { + cd "$builddir" + make check } libpcrecpp() { -- cgit v1.2.3