summaryrefslogtreecommitdiff
path: root/community/ifuse/PKGBUILD
blob: eac8cba7edce5af6acc5312d233c56f6de3c888c (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
# $Id: PKGBUILD 100637 2013-11-06 19:54:56Z cinelli $
# Maintainer:  Federico Cinelli <cinelli@aur.archlinux.org>
# Contributor: Thomas Dziedzic  < gostrc at gmail >
# Contributor: Gabriel Martinez < reitaka at gmail dot com >

pkgname=ifuse
pkgver=1.1.2
pkgrel=5
pkgdesc='A fuse filesystem to access the contents of an iPhone or iPod Touch'
url='http://libimobiledevice.org/'
arch=('i686' 'x86_64' 'mips64el')
license=('LGPL2.1')
depends=('libimobiledevice' 'fuse')
source=("http://www.libimobiledevice.org/downloads/$pkgname-$pkgver.tar.bz2"
        '0001-Updated-for-libimobiledevice-1.1.5.patch')
md5sums=('4152526b2ac3c505cb41797d997be14d'
	 'ca4d4af7f830c10645b605f1572c0ba6')

prepare() {
  cd "$pkgname-$pkgver"
  patch -p1 -i "$srcdir/0001-Updated-for-libimobiledevice-1.1.5.patch"
}

build() {
  cd "$pkgname-$pkgver"

  ./configure --prefix=/usr
  make
}

package() {
  cd "$pkgname-$pkgver"
  make DESTDIR="$pkgdir" install
}