diff options
author | Britney Fransen <brfransen@gmail.com> | 2025-02-11 18:53:28 (GMT) |
---|---|---|
committer | Britney Fransen <brfransen@gmail.com> | 2025-02-11 18:53:28 (GMT) |
commit | 6c59486b531a95d958a2a067c24645525ae1eafb (patch) | |
tree | 8aa217eb6506206a165e02f9255f192dda3d00ef /linhes/dmg2img/PKGBUILD | |
parent | 5c315cf827803dec0644e7eba2c7ee9f241a8839 (diff) | |
download | linhes_pkgbuild-6c59486b531a95d958a2a067c24645525ae1eafb.zip linhes_pkgbuild-6c59486b531a95d958a2a067c24645525ae1eafb.tar.gz linhes_pkgbuild-6c59486b531a95d958a2a067c24645525ae1eafb.tar.bz2 |
dmg2img: initial inclusion
Diffstat (limited to 'linhes/dmg2img/PKGBUILD')
-rw-r--r-- | linhes/dmg2img/PKGBUILD | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/linhes/dmg2img/PKGBUILD b/linhes/dmg2img/PKGBUILD new file mode 100644 index 0000000..aaed16b --- /dev/null +++ b/linhes/dmg2img/PKGBUILD @@ -0,0 +1,31 @@ +# Maintainer: Jerome Leclanche <jerome@leclan.ch> + +pkgname=dmg2img +pkgver=1.6.7 +pkgrel=5 +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" "bzip2") +source=( + "http://vu1tur.eu.org/tools/$pkgname-$pkgver.tar.gz" + "0001-openssl-1.1-compatibility.patch" +) +sha256sums=('02aea6d05c5b810074913b954296ddffaa43497ed720ac0a671da4791ec4d018' + '021f14fc5f3b8dc058b604c6e3be6401124e4cc715df4c7f08a1175ef7e5183b') + +prepare() { + cd "$srcdir/$pkgname-$pkgver" + patch -Np1 --ignore-whitespace -i "$srcdir/0001-openssl-1.1-compatibility.patch" +} + +build() { + cd "$srcdir/$pkgname-$pkgver" + make PREFIX="/usr" +} + +package() { + cd "$srcdir/$pkgname-$pkgver" + make PREFIX="/usr" DESTDIR="$pkgdir" install +} |