aboutsummaryrefslogtreecommitdiffstats
path: root/testing/idevicerestore/APKBUILD
blob: caf56aaf650c41e8442280a2dfb07e4f812e4e1a (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
# 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"