# Contributor: CyberLeo # Maintainer: CyberLeo pkgname=wimlib pkgver=1.14.4 pkgrel=0 pkgdesc="Windows Imaging (WIM) archive manipulation library and tools" url="https://wimlib.net/" arch="all" # If the test suite crosses a clock-second boundary, the test will fail # because the mtime of the src and dest will vary by 1s. The test suite # then hangs waiting for the mount to umount, requiring manual operator # intervention. The tests pass on ppc64, ppc, x86_64 for me when timed # correctly, so for now we disable tests. options="!check" license="(GPL-2.0 OR LGPL-2.1) AND CC0" depends="" makedepends="fuse3-dev ntfs-3g ntfs-3g-dev" subpackages="$pkgname-doc $pkgname-dev $pkgname-libs" source="https://wimlib.net/downloads/wimlib-$pkgver.tar.gz header.patch pc-fuse3.patch " build() { ./configure \ --prefix=/usr make } check() { PATH="/usr/sbin:${PATH}" make check } package() { make DESTDIR="$pkgdir" install } sha512sums="f3c25ee14fe849f452f004ce8137ef040410ea048555ae71180086f010858b6ed593c8881b805bac65f9ee878bf11661a7f17677c6c24e2c77149c35ee0cd853 wimlib-1.14.4.tar.gz 25a410614b4d4a16f16149c09bb1107a5678d49b729ecb55fe5641727556f6eb8a0e3473331ae738e3747652674d78c32be0d6da57c2aa414bd9fc636c27997e header.patch e58429f3256e85e39558920be295c93645ec0584cf71282e01102c62b05b51fab1c3c1b62a8edb7be8bfc2427d2464400154ca05ad07e02548cad140f781aa7f pc-fuse3.patch"