diff options
author | Britney Fransen <brfransen@gmail.com> | 2020-03-23 15:18:15 (GMT) |
---|---|---|
committer | Britney Fransen <brfransen@gmail.com> | 2020-03-23 15:18:15 (GMT) |
commit | 2ce4bf295c4503625084f8b100599905aa39fc3e (patch) | |
tree | ef5495f5927aec953ab3af6b90139bd7c7af0a4f /abs/extra/oniguruma | |
parent | ba17cb1d164e13946476e7ab4174d8e4fbef54cd (diff) | |
download | linhes_pkgbuild-2ce4bf295c4503625084f8b100599905aa39fc3e.zip linhes_pkgbuild-2ce4bf295c4503625084f8b100599905aa39fc3e.tar.gz linhes_pkgbuild-2ce4bf295c4503625084f8b100599905aa39fc3e.tar.bz2 |
oniguruma: initial inclusion. dep of jq
Diffstat (limited to 'abs/extra/oniguruma')
-rw-r--r-- | abs/extra/oniguruma/PKGBUILD | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/abs/extra/oniguruma/PKGBUILD b/abs/extra/oniguruma/PKGBUILD new file mode 100644 index 0000000..95461a9 --- /dev/null +++ b/abs/extra/oniguruma/PKGBUILD @@ -0,0 +1,28 @@ +# Maintainer: Massimiliano Torromeo <massimiliano.torromeo@gmail.com> +# Contributor: Andreas Wagner <Andreas dot Wagner at em dot uni-frankfurt dot de> + +pkgname=oniguruma +pkgver=6.9.4 +pkgrel=1 +pkgdesc="a regular expressions library" +arch=('x86_64') +url="https://github.com/kkos/oniguruma" +license=('BSD') +source=("https://github.com/kkos/oniguruma/releases/download/v$pkgver/onig-$pkgver.tar.gz") +sha256sums=('4669d22ff7e0992a7e93e116161cac9c0949cd8960d1c562982026726f0e6d53') + +build() { + cd "$srcdir"/onig-$pkgver + ./configure --prefix=/usr + make +} + +package() { + cd "$srcdir"/onig-$pkgver + make DESTDIR="$pkgdir" install + install -dm755 "$pkgdir"/usr/share/doc + cp -r doc "$pkgdir"/usr/share/doc/$pkgname + for licfile in COPYING INSTALL; do + install -Dm644 $licfile "$pkgdir"/usr/share/licenses/$pkgname/$licfile + done +} |