From 2f83eb9d1b0718e7f880f7efa61a34fd9b0b25e6 Mon Sep 17 00:00:00 2001 From: Duncaen Date: Sun, 9 Apr 2023 17:40:26 +0200 Subject: [PATCH] cabextract: update to 1.11. --- srcpkgs/cabextract/template | 14 +++++++++++--- 1 file changed, 11 insertions(+), 3 deletions(-) diff --git a/srcpkgs/cabextract/template b/srcpkgs/cabextract/template index a30e9919b4e..e525291dfb8 100644 --- a/srcpkgs/cabextract/template +++ b/srcpkgs/cabextract/template @@ -1,14 +1,22 @@ # Template file for 'cabextract' pkgname=cabextract -version=1.9.1 +version=1.11 revision=1 build_style=gnu-configure configure_args="--with-external-libmspack ac_cv_func_fnmatch_works=yes" hostmakedepends="pkg-config" makedepends="libmspack-devel" short_desc="Extract Microsoft Cabinet (.CAB) files" -maintainer="Orphaned " +maintainer="Duncaen " license="GPL-3.0-or-later" homepage="https://www.cabextract.org.uk/" +changelog="https://www.cabextract.org.uk/#changes" distfiles="https://www.cabextract.org.uk/cabextract-${version}.tar.gz" -checksum=afc253673c8ef316b4d5c29cc4aa8445844bee14afffbe092ee9469405851ca7 +checksum=b5546db1155e4c718ff3d4b278573604f30dd64c3c5bfd4657cd089b823a3ac6 + +post_extract() { + if [ "$XBPS_TARGET_LIBC" = "musl" ]; then + # musl: FATAL ERROR: encoding 'koi8-ru' is not recognised: musl doesn't support non-utf8 + vsed -e 's/koi8-ru/koi8-r/' -i test/encoding.test + fi +}