Want more features on Pastebin? Sign Up, it's FREE!
Guest

dmg2img 1.6.4-2

By: a guest on Apr 17th, 2013  |  syntax: None  |  size: 0.69 KB  |  views: 21  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  1. # Maintainer: honzor
  2. # Contributors: alexander255, psquare
  3.  
  4. pkgname=dmg2img
  5. pkgver=1.6.4
  6. pkgrel=2
  7. pkgdesc="A CLI tool to uncompress Apple's compressed DMG files to the HFS+ IMG format"
  8. arch=('i686' 'x86_64')
  9. url="http://vu1tur.eu.org/tools/"
  10. license=('GPL2')
  11.  
  12. makedepends=('wget' 'tar')
  13. depends=('openssl')
  14.  
  15. #source=(${url}${pkgname}-${pkgver}.tar.gz)
  16. md5sums=('3861da66bf0d2f7407aeeec93f9cfc5e')
  17.  
  18. build() {
  19. curl --user-agent "Mozilla/4.0" "${url}${pkgname}-${pkgver}.tar.gz" > "${pkgname}-${pkgver}.tar.gz"
  20. tar -xvf "${pkgname}-${pkgver}.tar.gz"
  21.  
  22. cd "$srcdir/$pkgname-$pkgver"
  23. make CFLAGS="${CFLAGS}"
  24. }
  25.  
  26. package() {
  27. cd "$srcdir/$pkgname-$pkgver"
  28. make DESTDIR="$pkgdir/" install
  29. }
clone this paste RAW Paste Data