oniguruma: update to 6.9.5_rev1, remove noarch.

Also explicitly enable the POSIX API, since upstream now has it disabled
by default.
This commit is contained in:
Érico Rolim 2020-10-02 19:53:08 -03:00 committed by Érico Nogueira Rolim
parent de55c18cdc
commit 620481a291

View file

@ -1,15 +1,17 @@
# Template file for 'oniguruma' # Template file for 'oniguruma'
pkgname=oniguruma pkgname=oniguruma
version=6.9.4 version=6.9.5.rev1
revision=1 revision=1
wrksrc="onig-${version}" _ver="${version%.*}_${version##*.}"
wrksrc="onig-${version%.*}"
build_style=gnu-configure build_style=gnu-configure
configure_args="--enable-posix-api=yes"
short_desc="Multi-charset regular expressions library" short_desc="Multi-charset regular expressions library"
maintainer="John Regan <john@jrjrtech.com>" maintainer="John Regan <john@jrjrtech.com>"
license="BSD-2-Clause" license="BSD-2-Clause"
homepage="https://github.com/kkos/oniguruma" homepage="https://github.com/kkos/oniguruma"
distfiles="https://github.com/kkos/oniguruma/releases/download/v${version}/onig-${version}.tar.gz" distfiles="${homepage}/releases/download/v${_ver}/onig-${_ver}.tar.gz"
checksum=4669d22ff7e0992a7e93e116161cac9c0949cd8960d1c562982026726f0e6d53 checksum=d33c849d1672af227944878cefe0a8fcf26fc62bedba32aa517f2f63c314a99e
post_install() { post_install() {
vlicense COPYING vlicense COPYING
@ -28,7 +30,6 @@ oniguruma-devel_package() {
} }
oniguruma-doc_package() { oniguruma-doc_package() {
archs=noarch
short_desc+=" - documentation" short_desc+=" - documentation"
pkg_install() { pkg_install() {
vmkdir usr/share/doc/${sourcepkg} vmkdir usr/share/doc/${sourcepkg}