diff options
author | Francesco Colista <fcolista@alpinelinux.org> | 2017-04-07 12:22:30 +0000 |
---|---|---|
committer | Francesco Colista <fcolista@alpinelinux.org> | 2017-04-07 12:22:30 +0000 |
commit | aa88aed6e9cf88a3f54d3f1d195463205d9ffda0 (patch) | |
tree | 0640501b143fe794559b17864f47dec4e7838652 /main/oniguruma | |
parent | e5e6f902dcab34f15f2ef48dad6dcc42abedd6b2 (diff) | |
download | aports-aa88aed6e9cf88a3f54d3f1d195463205d9ffda0.tar.bz2 aports-aa88aed6e9cf88a3f54d3f1d195463205d9ffda0.tar.xz |
main/oniguruma: upgrade to 6.2.0, modernize APKBUILD
Diffstat (limited to 'main/oniguruma')
-rw-r--r-- | main/oniguruma/APKBUILD | 24 |
1 files changed, 15 insertions, 9 deletions
diff --git a/main/oniguruma/APKBUILD b/main/oniguruma/APKBUILD index e223ed8c7b..1cd34f073e 100644 --- a/main/oniguruma/APKBUILD +++ b/main/oniguruma/APKBUILD @@ -1,7 +1,7 @@ # Contributor: Carlo Landmeter <clandmeter@gmail.com> # Maintainer: Francesco Colista <fcolista@alpinelinux.org> pkgname=oniguruma -pkgver=6.1.3 +pkgver=6.2.0 pkgrel=0 pkgdesc="a regular expressions library" url="http://www.geocities.jp/kosako3/oniguruma/" @@ -12,9 +12,18 @@ subpackages="$pkgname-dev" source="$pkgname-$pkgver.tar.gz::https://github.com/kkos/$pkgname/archive/v$pkgver.tar.gz" builddir="$srcdir"/$pkgname-$pkgver -build() { +check() { + cd "$builddir" + make check +} + +prepare() { cd "$builddir" autoreconf -vfi +} + +build() { + cd "$builddir" ./configure \ --build=$CBUILD \ --host=$CHOST \ @@ -22,16 +31,13 @@ build() { --sysconfdir=/etc \ --mandir=/usr/share/man \ --infodir=/usr/share/info \ - --localstatedir=/var \ - || return 1 - make || return 1 + --localstatedir=/var + make } package() { cd "$builddir" - make DESTDIR="$pkgdir" install || return 1 + make DESTDIR="$pkgdir" install } -md5sums="212ddd2be5a2455c206f8d72420f2c58 oniguruma-6.1.3.tar.gz" -sha256sums="27fec91c6ba8333c1cd508a4b26ed29c232415724c68a9268207b6c7a5e8c20b oniguruma-6.1.3.tar.gz" -sha512sums="90a2c6840ab58c724da74cbdcce542a0ba9a098d82560a7d57ef844e5e7bc706e583b1ea90c7ac0d47dc98b5a22c53762208449556560ef2883476b703189efd oniguruma-6.1.3.tar.gz" +sha512sums="e8c0b2f46d6b0a71ca8e819f7a27a14a7b5b329a51a88a56ff2115aa3821b3f06d62405cce49ee19fd0bbb60049ebf38f1be155ff60097694856773c044544d3 oniguruma-6.2.0.tar.gz" |