blob: a8283236c4353403239f7da12cafc7febe98463f (
plain)
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
32
33
34
35
36
|
# Maintainer: 0x9fff00 <0x9fff00+git@protonmail.ch>
# Contributor: Ivan Shapovalov <intelfx@intelfx.name>
# Contributor: Matthew Bauer <mjbauer95@gmail.com>
pkgname=libirecovery
pkgver=1.2.1
pkgrel=1
pkgdesc="Library and utility to talk to iBoot/iBSS via USB"
arch=('x86_64')
url="https://libimobiledevice.org/"
license=('LGPL-2.1-only')
depends=('libimobiledevice-glue' 'libusb' 'readline')
# systemd is needed to build udev rules and is not in base-devel
makedepends=('git' 'systemd')
source=("git+https://github.com/libimobiledevice/$pkgname.git#tag=$pkgver")
sha256sums=('3105d553392ef0b82cb1c8e1ebebe108c0aafccbd042a660612d0c7ab9f447de')
prepare() {
cd "$pkgname"
# don't overlink to libplist-2.0.so
sed -Ei 's/(\$\(limd_glue_LIBS)\)/\1:-lplist-2.0=)/' src/Makefile.am
}
build() {
cd "$pkgname"
RELEASE_VERSION=$pkgver ./autogen.sh --prefix=/usr
make
}
package() {
cd "$pkgname"
make DESTDIR="$pkgdir" install
}
|