db-move: moved polari from [testing] to [extra] (x86_64)
[arch-packages.git] / usbmuxd / trunk / PKGBUILD
blob69aa58b1c9d8108d7a482bef90ad3bb2727aef42
1 # Maintainer : Ionut Biru <ibiru@archlinux.org>
2 # Contributor: Gabriel Martinez < reitaka at gmail dot com >
4 pkgname=usbmuxd
5 pkgver=1.1.1
6 pkgrel=2
7 pkgdesc="USB Multiplex Daemon"
8 url="https://marcansoft.com/blog/iphonelinux/usbmuxd/"
9 arch=('x86_64')
10 license=('GPL2' 'GPL3')
11 depends=('libimobiledevice' 'libusb' 'libplist')
12 makedepends=('git' 'systemd')
13 _commit=79c8b38d1488a6b07e1e68f39d8caec3f1a45622
14 source=("git+https://github.com/libimobiledevice/usbmuxd#commit=$_commit" usbmuxd.sysusers)
15 sha256sums=('SKIP'
16             '044bfb2810b27f7d6c066f142210775176b7484e76a78ea91794f40fdcda6fd9')
18 pkgver() {
19   cd $pkgname
20   git describe --tags | sed 's/-/+/g'
23 prepare() {
24   cd $pkgname
25   NOCONFIGURE=1 ./autogen.sh
28 check() {
29   cd $pkgname
30   make check
33 build() {
34   cd $pkgname
35   ./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var --sbindir=/usr/bin
36   make
39 package() {
40   cd $pkgname
41   make DESTDIR="${pkgdir}" install
43   install -Dm644 "$srcdir"/usbmuxd.sysusers "$pkgdir"/usr/lib/sysusers.d/usbmuxd.conf