diff options
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() { |