View difference between Paste ID: yHCsTkEX and LLrUxUwQ
SHOW: | | - or go back to the newest paste.
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-
wget "${url}${pkgname}-${pkgver}.tar.gz" -c -O "${pkgname}-${pkgver}.tar.gz"
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
}