public
Created

Taken from https://github.com/baskerville/PKGBUILDs/blob/master/dmg2img/PKGBUILD. Add missing package 'wget' to download source.

  • Download Gist
dmg2img-1.6.4-3
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25
# Maintainer: honzor
# Contributor: Bastien Dejean <baskerville@lavabit.com>
pkgname=dmg2img
pkgver=1.6.4
pkgrel=3
pkgdesc="A CLI tool to uncompress Apple's compressed DMG files to the HFS+ IMG format"
arch=('i686' 'x86_64')
url='http://vu1tur.eu.org/tools/'
license=('GPL2')
depends=('openssl')
makedepends=('wget')
source=("${url}${pkgname}-${pkgver}.tar.gz")
md5sums=('3861da66bf0d2f7407aeeec93f9cfc5e')
DLAGENTS=('http::/usr/bin/wget -O %o %u')
build() {
cd "$srcdir/${pkgname}-${pkgver}"
make PREFIX=/usr
}
package() {
cd "$srcdir/${pkgname}-${pkgver}"
make PREFIX=/usr DESTDIR="$pkgdir" install
}

Please sign in to comment on this gist.

Something went wrong with that request. Please try again.