updated on Thu Jan 26 16:09:46 UTC 2012
[aur-mirror.git] / fusepod / PKGBUILD
blobe297cc8f98222776d10f46ae825a9377f34c97ed
1 # Contributor: Neil Isaac <isaac dot neil at gmail dot com>
2 pkgname=fusepod
3 pkgver=0.5.2
4 pkgrel=2
5 pkgdesc="FUSE client for the Apple iPod"
6 arch=( 'i686' 'x86_64' )
7 url="http://fusepod.sourceforge.net/"
8 license=( 'GPL' )
9 depends=( 'fuse' 'taglib' 'libgpod' )
10 source=( "http://downloads.sourceforge.net/sourceforge/$pkgname/$pkgname-$pkgver.tar.bz2" )
11 md5sums=( '35347e87ad01b17990ff2be6f9d696cd' )
12 build() {
13 cd "$srcdir/$pkgname-$pkgver"
14 printf "17a18\n> #include <cstdio>\n" | patch src/fusepod_util.cpp
15 printf "19a20\n> #include <strings.h>\n" | patch src/fusepod_util.h
16 ./configure --prefix=/usr || return 1
17 make || return 1
18 make DESTDIR="$pkgdir" install || return 1