# Maintainer: Leonardo Arena pkgname=cabextract pkgver=1.11 pkgrel=1 pkgdesc="Tool for extracting Microsoft cabinet files" url="https://www.cabextract.org.uk/" arch="all" license="GPL-2.0-or-later" makedepends="libmspack-dev" checkdepends="findutils" subpackages="$pkgname-doc" source="https://www.cabextract.org.uk/cabextract-$pkgver.tar.gz musl-test.patch " # secfixes: # 1.8-r0: # - CVE-2018-18584 build() { ./configure \ --build=$CBUILD \ --host=$CHOST \ --prefix=/usr \ --sysconfdir=/etc \ --mandir=/usr/share/man \ --infodir=/usr/share/info \ --with-external-libmspack make } check() { make check || { cat test-suite.log return 1 } } package() { make DESTDIR="$pkgdir" install } sha512sums=" 416bdc5a889c3986b2a5d6ecb8526a69f2d85c34f4856da43951271ff4f31013e4197c56ea5f6b05061b511b980d5a65cb34b9b859d3013c1dbcbb89d43114f9 cabextract-1.11.tar.gz 9a20f1c9dc8624086c2fbbca66bc162730337ad9a3efc35b66cfb09d11e963d37849556c0efdcef9bc2abb8a31de45c11c6c245df3d6c580cba6a70ff2f1255c musl-test.patch "