updated on Thu Jan 19 16:10:29 UTC 2012
[aur-mirror.git] / libvformat / PKGBUILD
blob15318cb4ef378d44d27be5776cee6173d908fcfb
1 # Maintainer: Peter Lewis <plewis@aur.archlinux.org>
2 pkgname=libvformat
3 pkgver=1.13
4 pkgrel=1
5 pkgdesc="A library for reading and writing vcard files."
6 arch=('i686' 'x86_64')
7 url="http://sourceforge.net/projects/vformat/"
8 license=('GPL')
9 groups=()
10 depends=()
11 makedepends=()
12 optdepends=()
13 provides=()
14 conflicts=()
15 replaces=()
16 backup=()
17 options=()
18 install=
19 changelog=
20 source=("http://sourceforge.net/projects/vformat/files/vformat/Alpha-6-Linux/$pkgname-$pkgver-a6r3.tar.gz" "libvformat-nodoc.patch")
21 noextract=()
22 sha256sums=('ad50ea326daeaccac59716208f6eac23691d3e4af906a8915f62078c49fcad74'
23             '844d768048b58ca95818619b4a86d615a6a7e010d28524a05a1255961d283670')
25 build() {
26   cd "$srcdir/$pkgname-$pkgver"
28   patch -p0 < ../libvformat-nodoc.patch
29   
30   ./configure --prefix=/usr
31   make
34 package() {
35   cd "$srcdir/$pkgname-$pkgver"
37   make DESTDIR="$pkgdir/" install
38   
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: