[arch-commits] Commit in (dmg2img dmg2img/repos dmg2img/trunk dmg2img/trunk/PKGBUILD)

Jerome Leclanche jleclanche at archlinux.org
Sun Apr 7 15:27:12 UTC 2019


    Date: Sunday, April 7, 2019 @ 15:27:12
  Author: jleclanche
Revision: 450311

dmg2img: Moved from AUR

Added:
  dmg2img/
  dmg2img/repos/
  dmg2img/trunk/
  dmg2img/trunk/PKGBUILD

----------+
 PKGBUILD |   33 +++++++++++++++++++++++++++++++++
 1 file changed, 33 insertions(+)

Added: dmg2img/trunk/PKGBUILD
===================================================================
--- dmg2img/trunk/PKGBUILD	                        (rev 0)
+++ dmg2img/trunk/PKGBUILD	2019-04-07 15:27:12 UTC (rev 450311)
@@ -0,0 +1,33 @@
+# Maintainer: Jerome Leclanche <jerome at leclan.ch>
+
+pkgname=dmg2img
+pkgver=1.6.7
+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" "bzip2")
+source=(
+	"http://vu1tur.eu.org/tools/$pkgname-$pkgver.tar.gz"
+	"0001-openssl-1.1-compatibility.patch"
+)
+sha256sums=(
+	""
+	""
+)
+
+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
+}


More information about the arch-commits mailing list