From a4fa6ab9fb6bf63292fe9c1ebf922089f3b69a96 Mon Sep 17 00:00:00 2001 From: Samuel Holland Date: Fri, 21 Jun 2019 21:45:06 -0500 Subject: user/oniguruma: New package Signed-off-by: Samuel Holland --- user/oniguruma/APKBUILD | 35 +++++++++++++++++++++++++++++++++++ 1 file changed, 35 insertions(+) create mode 100644 user/oniguruma/APKBUILD (limited to 'user') diff --git a/user/oniguruma/APKBUILD b/user/oniguruma/APKBUILD new file mode 100644 index 000000000..7df3e3af5 --- /dev/null +++ b/user/oniguruma/APKBUILD @@ -0,0 +1,35 @@ +# Contributor: Carlo Landmeter +# Contributor: Francesco Colista +# Maintainer: Samuel Holland +pkgname=oniguruma +pkgver=6.9.2 +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" + +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="c10134e42a3c0b0eeae2027ffb7a3e1bcc9228dee286f6b6e997f8a73d717217fa74de0e19c40975d2e78044c8c4f029eb622f90c8eb4fdc4667eb4804e97001 onig-6.9.2.tar.gz" -- cgit v1.2.3-70-g09d2