summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 4818dae932ae3b0b41c26e3898866f79ddbfd481 (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: Frederik Schwan <freswa at archlinux dot org>

pkgname=libimobiledevice-glue-git
pkgver=r46.214bafd
pkgrel=1
pkgdesc='Library with common code used by the libraries and tools around the libimobiledevice project'
url='http://www.libimobiledevice.org/'
arch=(x86_64)
license=('LGPL2.1')
depends=('libplist')
makedepends=('git')
provides=('libimobiledevice-glue')
conflicts=('libimobiledevice-glue')
source=("git+https://github.com/libimobiledevice/libimobiledevice-glue")
sha256sums=('SKIP')

pkgver() {
	cd libimobiledevice-glue
  printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
}

prepare() {
	cd libimobiledevice-glue
	NOCONFIGURE=1 ./autogen.sh
}

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

package() {
	cd libimobiledevice-glue
	make DESTDIR="$pkgdir" install
}