1 # Contributor: slubman <slubman.dndd@laposte.net>
2 # Contributor: BlackEagle <ike DOT devolder AT gmail DOT com>
7 pkgdesc="A client for the Apple Filing Protocol (AFP)"
9 depends=('gmp' 'fuse' 'libgcrypt')
10 arch=('i686' 'x86_64')
12 "http://downloads.sourceforge.net/sourceforge/${pkgname}/${pkgname}-${pkgver}.tar.bz2"
13 'fix_afpfs-ng_includes.patch'
19 '688560de1cde57ab8d9e0ef7dc6436dbf0267fe8884f9014e50ff92b297b01a8'
20 '627d94ab3c1cbc002b18839f514c6fa980b0a25dfc21e8761b389fcd39f32755'
21 '18dc77b064fc02c229e0cfa071a7e31cde6d0243671ebde2f561ebdf09dc38bb'
22 '8537b086c496e776be2a6757325717cb15dee6dcf2aedccebed6b4b2332d3dc1'
23 '0e1c0c0e3a9ff6e55ccbbbc1b4de630c874ff058e2ea94360b7d90e650d04811'
25 url="http://alexthepuffin.googlepages.com/"
28 cd ${pkgname}-${pkgver}
30 msg2 'fix_afpfs-ng_includes.patch'
31 patch -Np1 -i ${srcdir}/fix_afpfs-ng_includes.patch
32 msg2 '01-gcrypt.patch'
33 patch -Np1 -i ${srcdir}/01-gcrypt.patch
34 msg2 '02-pointer.patch'
35 patch -Np1 -i ${srcdir}/02-pointer.patch
36 msg2 '10-fix-errno.patch'
37 patch -Np1 -i ${srcdir}/10-fix-errno.patch
39 ./configure --prefix=/usr
44 cd ${pkgname}-${pkgver}
45 make DESTDIR=$pkgdir install
49 for header in afpfs-ng/*.h; do
50 install -Dm644 ${header} ${pkgdir}/usr/include/${header}