mirror of
https://gitdl.cn/https://github.com/chakralinux/core.git
synced 2025-02-04 21:37:13 +08:00
32 lines
1.1 KiB
Bash
32 lines
1.1 KiB
Bash
# $Id: PKGBUILD 81308 2010-05-28 00:01:31Z ibiru $
|
|
# Maintainer : Ionut Biru <ibiru@archlinux.org>
|
|
# Contributor: Gabriel Martinez < reitaka at gmail dot com >
|
|
|
|
pkgname=usbmuxd
|
|
pkgver=1.0.5
|
|
pkgrel=2
|
|
pkgdesc="USB Multiplex Daemon"
|
|
url="http://marcansoft.com/blog/iphonelinux/usbmuxd/"
|
|
arch=('i686' 'x86_64')
|
|
license=('GPL2' 'GPL3' 'LGPL2.1')
|
|
depends=('libusb1>=1.0.3')
|
|
makedepends=('cmake')
|
|
install=usbmuxd.install
|
|
source=(http://marcansoft.com/uploads/${pkgname}/${pkgname}-${pkgver}.tar.bz2
|
|
usbmuxd-udevuser.patch
|
|
usbmuxd-soname.patch)
|
|
sha256sums=('3bce652618c0e4add5cdcf2f88d581a5be9c2fe8cd46465d2f71422c262c108c'
|
|
'6376057235ee4d6d8a637acf64edc981b36963a95de977c6c9ea506e6b26c821'
|
|
'8c783e6cf3ee1d057ebfaa68e48f590df002504fbcaa6d506e4541cfcabe96c9')
|
|
|
|
build() {
|
|
cd "${srcdir}/${pkgname}-${pkgver}"
|
|
patch -Np1 -i "${srcdir}/usbmuxd-udevuser.patch" || return 1
|
|
patch -Np1 -i "${srcdir}/usbmuxd-soname.patch" || return 1
|
|
mkdir build
|
|
cd build
|
|
cmake ../ -DCMAKE_INSTALL_PREFIX:PATH=/usr -DLIB_SUFFIX=""
|
|
make || return 1
|
|
make DESTDIR="${pkgdir}" install || return 1
|
|
}
|