updated on Thu Jan 19 04:14:35 UTC 2012
[aur-mirror.git] / ipheth-utils / PKGBUILD
blob5094025de7bd5fb2df8b2890a3a8c8a99ee6b6d8
1 # Contributor: blasse <koralik(at)gmail(dot)com>
2 # Contributor: Erez Zarum <erez@erezzarum.com>
3 # Contributor: Nicolas Hureau <kalenz@lse.epita.fr>
5 pkgname=ipheth-utils
6 _realname=ipheth
7 pkgver=1.0
8 pkgrel=1
9 pkgdesc="Support for iPhone tethering through USB cables. Utils pkg, as driver is in kernel since 2.6.34"
10 arch=('i686' 'x86_64')
11 url="http://giagio.com/wiki/moin.cgi/iPhoneEthernetDriver"
12 license=(GPL)
13 depends=('libimobiledevice')
14 makedepends=('git' 'linux>2.6.33')
15 provides=("ipheth=$pkgver")
16 conflicts=(ipheth)
17 install=ipheth-utils.install
18 source=(http://github.com/downloads/dgiagio/$_realname/$_realname-$pkgver.tar.gz)
19 sha256sums=('c1f9fb0fed81fa284ccf5b939aad8dcb5f77faccf06636141a02ffd3c7941e77')
21 build() {
22   cd "$srcdir/$_realname-$pkgver/ipheth-pair"
23   make || return 1
24   install -D -m755 ipheth-pair $pkgdir/lib/udev/ipheth-pair || return 1
25   install -D -m644 90-iphone-tether.rules $pkgdir/etc/udev/rules.d/90-iphone-tether.rules || return 1
26