# Contributor: Carlo Landmeter <clandmeter@gmail.com> # Contributor: Francesco Colista <fcolista@alpinelinux.org> # Maintainer: Samuel Holland <samuel@sholland.org> pkgname=oniguruma pkgver=6.9.5 pkgrel=0 pkgdesc="A regular expression library" url="https://github.com/kkos/oniguruma" arch="all" license="BSD-2-Clause" depends="" makedepends="" subpackages="$pkgname-dev" source="https://github.com/kkos/$pkgname/releases/download/v$pkgver/onig-$pkgver.tar.gz 192.patch " builddir="$srcdir/onig-$pkgver" # secfixes: # 6.9.2-r1: # - CVE-2019-13224 # - CVE-2019-13225 build() { ./configure \ --build=$CBUILD \ --host=$CHOST \ --prefix=/usr \ --sysconfdir=/etc \ --mandir=/usr/share/man \ --infodir=/usr/share/info \ --localstatedir=/var make } check() { make check } package() { make DESTDIR="$pkgdir" install } sha512sums="2bdb24914e7069c6df9ab8a3d0190ddb58440d94b13860cdc36d259062ae0bc2aa85d564a4209ec596fc7ee47b0823d1b817d4f7ffcc3ea60e9870da84491dc1 onig-6.9.5.tar.gz b2e9926e0b9a22b2036bb43297e24726439938b8cf349f55ab09bf47d16a4862bb3bbdec8b425c7d174524121e49c4d6e567e26168894d7c564b7645d5a1bff5 192.patch"