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"