From ff5056d2f85c812931d85ca6a768e696a4225a7b Mon Sep 17 00:00:00 2001 From: Kasper K Date: Sun, 30 May 2021 21:13:49 +0000 Subject: [PATCH] testing/idevicerestore: new aport --- testing/idevicerestore/APKBUILD | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) create mode 100644 testing/idevicerestore/APKBUILD diff --git a/testing/idevicerestore/APKBUILD b/testing/idevicerestore/APKBUILD new file mode 100644 index 00000000000..caf56aaf650 --- /dev/null +++ b/testing/idevicerestore/APKBUILD @@ -0,0 +1,31 @@ +# Contributor: Kasper K +# Maintainer: Kasper K +pkgname=idevicerestore +pkgver=1.0.0 +pkgrel=0 +pkgdesc="Restore/upgrade firmware of iOS devices" +url="https://libimobiledevice.org" +arch="all" +license="LGPL-2.1-or-later" +makedepends="libirecovery-dev libimobiledevice-dev libzip-dev curl-dev" +subpackages="$pkgname-doc" +source="https://github.com/libimobiledevice/idevicerestore/releases/download/$pkgver/idevicerestore-$pkgver.tar.bz2" + +build() { + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ + --disable-static + make +} + +check() { + make check +} + +package() { + make DESTDIR="$pkgdir" install +} + +sha512sums="d62bd498fd12cacc0cd531a31b39255ee71e082a47de234a1d7bfc270745aec3ed18479fd67aeb2ccdc80e09980b98820e62b284c770e092fe24b96f3fca71a2 idevicerestore-1.0.0.tar.bz2"