Advertisement
khampf

wimlib-1.0.3/PKGBUILD

Sep 22nd, 2012
82
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 1.13 KB | None | 0 0
  1. # Maintainer:  Eric Biggers <ebiggers3 at gmail dot com>
  2.  
  3. pkgname=wimlib
  4. pkgver=1.0.3
  5. pkgrel=1
  6. pkgdesc="A library to extract, create, and modify WIM files"
  7. arch=("i686" "x86_64")
  8. url="http://sourceforge.net/projects/wimlib"
  9. license=("GPL3")
  10. depends=("openssl" "fuse" "libxml2" "ntfs-3g" "attr")
  11. optdepends=("cdrkit: for making ISO image of Windows PE"
  12.     "mtools: for making disk image of Windows PE"  
  13.     "syslinux: for making disk image of Windows PE"
  14.     "cabextract: for extracting Windows PE from the WAIK"
  15.     "ntfsprogs: for making NTFS filesystems")
  16. checkdepends=("ntfsprogs")
  17. source=("http://downloads.sourceforge.net/$pkgname/$pkgname-$pkgver.tar.gz"
  18.         "http://pastebin.com/download.php?i=wci9wrzn")
  19.  
  20. build() {
  21.     cd "$pkgname-$pkgver"
  22.     patch -p1 -i '../download.php?i=wci9wrzn'
  23.     ./configure --disable-verify-compression --with-libcrypto --with-fuse \
  24.             --with-ntfs-3g --enable-xattr --prefix=/usr
  25.     make
  26. }
  27.  
  28. check() {
  29.     cd "$pkgname-$pkgver"  
  30.     make check
  31. }
  32.  
  33. package() {
  34.     cd "$pkgname-$pkgver"  
  35.     make DESTDIR="$pkgdir" install
  36. }
  37. md5sums=('fe9676938640d5072001d5d0b15a7e52'
  38.          '13dcd59fab005f7cf1157b959a5a0a31')
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement