1 # Maintainer: Peter Lewis <plewis@aur.archlinux.org>
5 pkgdesc="A library for reading and writing vcard files."
7 url="http://sourceforge.net/projects/vformat/"
20 source=("http://sourceforge.net/projects/vformat/files/vformat/Alpha-6-Linux/$pkgname-$pkgver-a6r3.tar.gz" "libvformat-nodoc.patch")
22 sha256sums=('ad50ea326daeaccac59716208f6eac23691d3e4af906a8915f62078c49fcad74'
23 '844d768048b58ca95818619b4a86d615a6a7e010d28524a05a1255961d283670')
26 cd "$srcdir/$pkgname-$pkgver"
28 patch -p0 < ../libvformat-nodoc.patch
30 ./configure --prefix=/usr
35 cd "$srcdir/$pkgname-$pkgver"
37 make DESTDIR="$pkgdir/" install
39 install -m644 "$srcdir/$pkgname-$pkgver/common/types.h" "$pkgdir/usr/include/vf_types.h"
40 sed -i 's/common\/types.h/vf_types.h/' "$pkgdir/usr/include/vf_iface.h"
43 # vim:set ts=2 sw=2 et: