# Template file for 'cabextract' pkgname=cabextract 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="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=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 }