Pastebin launched a little side project called HostCabi.net, check it out ;-)Don't like ads? PRO users don't see any ads ;-)
Guest

dmg2img.pkg

By: a guest on Feb 10th, 2013  |  syntax: Bash  |  size: 0.62 KB  |  hits: 155  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
This paste has a previous version, view the difference. Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  1. # Maintainer: honzor
  2.  
  3. pkgname=dmg2img
  4. pkgver=1.6.4
  5. pkgrel=1
  6. pkgdesc="A CLI tool to uncompress Apple's compressed DMG files to the HFS+ IMG format"
  7. arch=('i686' 'x86_64')
  8. url="http://vu1tur.eu.org/tools/"
  9. license=('GPL2')
  10.  
  11. makedepends=('wget' 'tar')
  12. depends=('openssl')
  13. #source=(${url}${pkgname}-${pkgver}.tar.gz)
  14. md5sums=('3861da66bf0d2f7407aeeec93f9cfc5e')
  15.  
  16. build() {
  17. curl --user-agent "Mozilla/4.0" "${url}${pkgname}-${pkgver}.tar.gz" > "${pkgname}-${pkgver}.tar.gz"
  18. tar -xvf "${pkgname}-${pkgver}.tar.gz"
  19.  
  20. cd "${pkgname}-${pkgver}"
  21. make CFLAGS="${CFLAGS}" || return 1
  22. make DESTDIR=${pkgdir} install || return 1
  23. }