summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 529cf393577026d53348d826c716b75a8ef19a13 (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
37
38
39
40
41
# Maintainer: Ivan Shapovalov <intelfx@intelfx.name>

pkgname=libtatsu-git
pkgver=1.0.0.r0.g6fd8a51
pkgrel=1
pkgdesc="Library handling the communication with Apple's Tatsu Signing Server (TSS)"
url="http://www.libimobiledevice.org/"
arch=(x86_64)
license=('LGPL-2.1')
depends=('glibc' 'libplist-git')
makedepends=('git')
provides=(libtatsu.so "libtatsu=$pkgver")
conflicts=(libtatsu)
source=("git+https://github.com/libimobiledevice/libtatsu")
sha256sums=('SKIP')

pkgver() {
	cd libtatsu
	git describe --long --tags | sed 's/-/.r/;s/-/./'
}

prepare() {
	cd libtatsu
	NOCONFIGURE=1 ./autogen.sh
}

build() {
	cd libtatsu
	./configure --prefix=/usr
	make
}

check() {
	cd libtatsu
	make check
}

package() {
	cd libtatsu
	make DESTDIR="$pkgdir" install
}