summaryrefslogblamecommitdiff
path: root/user/oniguruma/APKBUILD
blob: 8c14250dfecbec8b71e108d7fbb1fc3f6bd8abd1 (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11



                                                           

            




                                       
                                                                                        

                               




                      



















                                           
                                                                                                                                                                
# Contributor: Carlo Landmeter <clandmeter@gmail.com>
# Contributor: Francesco Colista <fcolista@alpinelinux.org>
# Maintainer: Samuel Holland <samuel@sholland.org>
pkgname=oniguruma
pkgver=6.9.3
pkgrel=0
pkgdesc="A regular expression library"
url="https://github.com/kkos/oniguruma"
arch="all"
license="BSD-2-Clause"
subpackages="$pkgname-dev"
source="https://github.com/kkos/$pkgname/releases/download/v$pkgver/onig-$pkgver.tar.gz"
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="6b038879cb9cbe8cc756159eb53125e1d4dc7365ca434d07b99a59f3602987e573da120506bbd88d0f51dcdde5866bfa48d45803f8869503726c4d9a47d62861  onig-6.9.3.tar.gz"