--- /dev/null
+# Maintainer: Eric Biggers <ebiggers3 at gmail dot com>
+
+pkgname=wimlib
+pkgver=@VERSION@
+pkgrel=1
+pkgdesc="A library to extract, create, and modify WIM files"
+arch=("i686" "x86_64")
+url="http://sourceforge.net/projects/wimlib"
+license=("LGPL")
+depends=("openssl" "fuse" "libxml2")
+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")
+source=("$url/files/$pkgname-$pkgver.tar.gz")
+md5sums=("ce01547173dbac170b324dbb6fc84243")
+
+build() {
+ cd "$pkgname-$pkgver"
+ ./configure --disable-verify-compression --enable-libcrypto \
+ --prefix=/usr
+ make
+}
+
+package() {
+ cd "$pkgname-$pkgver"
+ make DESTDIR="$pkgdir" install
+}