summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 03f10b5b66c5c41b0c4bd8364452ca96f442fc22 (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
# Maintainer: Jhon Diaz <electimon@gmail.com>
# Contributor: Matthew Bauer <mjbauer95@gmail.com>
# Contributor: Ivan Shapovalov <intelfx100@gmail.com>

pkgname=libideviceactivation-git
epoch=1
pkgver=1.1.0.r0.gb02cc45
pkgrel=1
pkgdesc="Activates iDevices using a single tool."
arch=('i686' 'x86_64')
url="http://github.com/libimobiledevice/libideviceactivation"
license=('LGPL')
depends=('curl' 'libplist-git' 'libxml2' 'libimobiledevice-git')
makedepends=('git')
source=("git+https://github.com/libimobiledevice/libideviceactivation")
md5sums=('SKIP')


pkgver() {
	cd libideviceactivation

	git describe --long | sed 's/\([^-]*-g\)/r\1/;s/-/./g'
}

build() {
	cd libideviceactivation

	./autogen.sh --prefix=/usr

	make
}

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