aboutsummaryrefslogblamecommitdiffstats
path: root/testing/idevicerestore/APKBUILD
blob: caf56aaf650c41e8442280a2dfb07e4f812e4e1a (plain) (tree)






























                                                                                                                                                                           
# Contributor: Kasper K <kasperkantz@outlook.com>
# Maintainer: Kasper K <kasperkantz@outlook.com>
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"