diff options
author | Samuel Holland <samuel@sholland.org> | 2019-06-21 21:45:06 -0500 |
---|---|---|
committer | Samuel Holland <samuel@sholland.org> | 2019-06-21 21:45:06 -0500 |
commit | a4fa6ab9fb6bf63292fe9c1ebf922089f3b69a96 (patch) | |
tree | f3061fb1385a538a0a0ea76f6baf2b1893ee6162 | |
parent | a964b909495b014ef9869aa61219952c79a1ef5e (diff) | |
download | packages-a4fa6ab9fb6bf63292fe9c1ebf922089f3b69a96.tar.gz packages-a4fa6ab9fb6bf63292fe9c1ebf922089f3b69a96.tar.bz2 packages-a4fa6ab9fb6bf63292fe9c1ebf922089f3b69a96.tar.xz packages-a4fa6ab9fb6bf63292fe9c1ebf922089f3b69a96.zip |
user/oniguruma: New package
Signed-off-by: Samuel Holland <samuel@sholland.org>
-rw-r--r-- | user/oniguruma/APKBUILD | 35 |
1 files changed, 35 insertions, 0 deletions
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 <clandmeter@gmail.com> +# Contributor: Francesco Colista <fcolista@alpinelinux.org> +# Maintainer: Samuel Holland <samuel@sholland.org> +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" |