diff options
author | A. Wilcox <AWilcox@Wilcox-Tech.com> | 2017-08-05 19:54:37 +0000 |
---|---|---|
committer | Timo Teräs <timo.teras@iki.fi> | 2017-08-28 08:40:40 +0000 |
commit | aa0f65287c4741529d43e53a1d790ff838c39b02 (patch) | |
tree | 368c17f5ef3b42a5f6309ac82d2df2d0b2b90ed6 /main/pcre/APKBUILD | |
parent | 674a13c4a95407e55eb080f7a5d9f69118e16fa2 (diff) | |
download | aports-aa0f65287c4741529d43e53a1d790ff838c39b02.tar.bz2 aports-aa0f65287c4741529d43e53a1d790ff838c39b02.tar.xz |
main/pcre: add tests
Diffstat (limited to 'main/pcre/APKBUILD')
-rw-r--r-- | main/pcre/APKBUILD | 14 |
1 files changed, 9 insertions, 5 deletions
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 <ncopa@alpinelinux.org> 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() { |