# Maintainer: Eric Biggers pkgname=wimlib pkgver=1.3.0 pkgrel=1 pkgdesc="A library to extract, create, and modify WIM files" arch=("i686" "x86_64") url="http://sourceforge.net/projects/wimlib" license=("GPL3") depends=("openssl" "fuse" "libxml2" "ntfs-3g" "attr") optdepends=("cdrkit: for making ISO image of Windows PE" "mtools: for making disk image of Windows PE" "syslinux: for making disk image of Windows PE" "cabextract: for extracting Windows PE from the WAIK" "ntfsprogs: for making NTFS filesystems") checkdepends=("ntfsprogs") source=("http://downloads.sourceforge.net/$pkgname/$pkgname-$pkgver.tar.gz") build() { cd "$pkgname-$pkgver" ./configure --disable-verify-compression --with-libcrypto --with-fuse \ --with-ntfs-3g --enable-xattr --prefix=/usr make } check() { cd "$pkgname-$pkgver" make check } package() { cd "$pkgname-$pkgver" make DESTDIR="$pkgdir" install for file in README NEWS README.WINDOWS; do install -Dm644 $file "$pkgdir/usr/share/doc/$pkgname/$file" done }