From 620481a29178dcdf0291402d702f759b289ef5f2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C3=89rico=20Rolim?= Date: Fri, 2 Oct 2020 19:53:08 -0300 Subject: [PATCH] oniguruma: update to 6.9.5_rev1, remove noarch. Also explicitly enable the POSIX API, since upstream now has it disabled by default. --- srcpkgs/oniguruma/template | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/srcpkgs/oniguruma/template b/srcpkgs/oniguruma/template index c017fe458d..af4084eabc 100644 --- a/srcpkgs/oniguruma/template +++ b/srcpkgs/oniguruma/template @@ -1,15 +1,17 @@ # Template file for 'oniguruma' pkgname=oniguruma -version=6.9.4 +version=6.9.5.rev1 revision=1 -wrksrc="onig-${version}" +_ver="${version%.*}_${version##*.}" +wrksrc="onig-${version%.*}" build_style=gnu-configure +configure_args="--enable-posix-api=yes" short_desc="Multi-charset regular expressions library" maintainer="John Regan " license="BSD-2-Clause" homepage="https://github.com/kkos/oniguruma" -distfiles="https://github.com/kkos/oniguruma/releases/download/v${version}/onig-${version}.tar.gz" -checksum=4669d22ff7e0992a7e93e116161cac9c0949cd8960d1c562982026726f0e6d53 +distfiles="${homepage}/releases/download/v${_ver}/onig-${_ver}.tar.gz" +checksum=d33c849d1672af227944878cefe0a8fcf26fc62bedba32aa517f2f63c314a99e post_install() { vlicense COPYING @@ -28,7 +30,6 @@ oniguruma-devel_package() { } oniguruma-doc_package() { - archs=noarch short_desc+=" - documentation" pkg_install() { vmkdir usr/share/doc/${sourcepkg}