summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 02c5aaa259d29e0ed7d822e6235cbdcf4773eae0 (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
# Maintainer: Ivan Shapovalov <intelfx@intelfx.name>
# Contributor: Alex Brinister <alex_brinister at yahoo dot com>

pkgname=usbmuxd-git
epoch=1
pkgver=1.1.0.r25.g35e5d48
pkgrel=1
pkgdesc="USB Multiplex Daemon"
url="http://www.libimobiledevice.org/"
arch=('i686' 'x86_64')
license=('GPL')
depends=('libusb' 'libplist-git' 'libimobiledevice-git')
makedepends=('git' 'cmake')
provides=('usbmuxd')
conflicts=('usbmuxd')
install='usbmuxd.install'
source=("git+https://git.libimobiledevice.org/usbmuxd.git")
sha512sums=('SKIP')

pkgver() {
	cd usbmuxd

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

build() {
	cd usbmuxd

	./autogen.sh --prefix=/usr --sbindir=/usr/bin --with-systemd
	make
}

package() {
	cd usbmuxd

	make DESTDIR="$pkgdir" install
}

# vim:set ts=2 sw=2: