core/usbmuxd/PKGBUILD

40 lines
715 B
Bash
Raw Normal View History

pkgname=usbmuxd
2018-04-21 10:23:50 +08:00
pkgver=1.1.0+28+g46bdf3e
pkgrel=1
pkgdesc="USB Multiplex Daemon"
url="http://marcansoft.com/blog/iphonelinux/usbmuxd/"
2013-05-19 01:09:14 +08:00
arch=('i686' 'x86_64')
2014-12-12 17:53:46 +08:00
license=('GPL2' 'GPL3')
2017-05-31 12:39:41 +08:00
depends=('libimobiledevice')
makedepends=('git')
install=usbmuxd.install
2018-04-21 10:23:50 +08:00
_commit=46bdf3ec90acf3916ee8aba622a7da9da5eb8e06 # master
source=("git+https://github.com/libimobiledevice/usbmuxd#commit=$_commit")
md5sums=('SKIP')
pkgver() {
cd $pkgname
git describe --tags | sed 's/-/+/g'
}
prepare() {
cd $pkgname
NOCONFIGURE=1 ./autogen.sh
}
check() {
cd $pkgname
make check
}
build() {
2018-04-21 10:23:50 +08:00
cd $pkgname
2017-05-31 12:39:41 +08:00
./configure --prefix=/usr --sbindir=/usr/bin
make
}
package() {
2018-04-21 10:23:50 +08:00
cd $pkgname
make DESTDIR="${pkgdir}" install
}