# Contributor: Carlo Landmeter # Maintainer: Francesco Colista pkgname=oniguruma pkgver=6.9.1 pkgrel=0 pkgdesc="a regular expressions library" url="https://github.com/kkos/oniguruma" arch="all" license="BSD-2-Clause" makedepends="automake autoconf libtool" subpackages="$pkgname-dev" source="$pkgname-$pkgver.tar.gz::https://github.com/kkos/$pkgname/archive/v$pkgver.tar.gz" builddir="$srcdir"/$pkgname-$pkgver prepare() { cd "$builddir" autoreconf -vfi } build() { cd "$builddir" ./configure \ --build=$CBUILD \ --host=$CHOST \ --prefix=/usr \ --sysconfdir=/etc \ --mandir=/usr/share/man \ --infodir=/usr/share/info \ --localstatedir=/var make } check() { cd "$builddir" make check } package() { cd "$builddir" make DESTDIR="$pkgdir" install } sha512sums="a1af020f2042dba2423fb0d0db1ca2c30413c4e950493ac44caa11f616adec98c24df6882413548540095d7f3d8a295afd3ce51e8349ea92fa13d900ee58b126 oniguruma-6.9.1.tar.gz"