updated on Thu Jan 12 16:09:17 UTC 2012
[aur-mirror.git] / libvc / PKGBUILD
blob923b1ae6306fb77b37f19edbda3bf63998e4c539
1 #$Id: PKGBUILD 82 2009-07-17 19:56:55Z aaron $
2 # Maintainer: Jeff Mickey <j@codemac.net>
4 pkgname=libvc
5 pkgver=003
6 pkgrel=2
7 pkgdesc="vCard library."
8 arch=('i686' 'x86_64')
9 url="http://rolo.sourceforge.net"
10 license=("LGPL")
11 depends=('glibc')
12 makedepends=()
13 conflicts=()
14 replaces=()
15 backup=()
16 install=
17 source=(http://downloads.sourceforge.net/rolo/$pkgname-$pkgver.tar.gz
18         http://patch-tracker.debian.org/patch/series/dl/libvc/003.dfsg.1-12/count-vcards-buffer-overflow.diff
19         http://patch-tracker.debian.org/patch/series/dl/libvc/003.dfsg.1-12/field-names-comply-with-vCard2.1diff
20         http://patch-tracker.debian.org/patch/series/dl/libvc/003.dfsg.1-12/manpage-Lb-definition.diff
21         http://patch-tracker.debian.org/patch/series/dl/libvc/003.dfsg.1-12/accept-line-folding.diff)
22 md5sums=('3c9f0fb512d02d179f57a9eadcfa1043' 
23          '98b3c99555f1e69a0d07152cb800da4f' 
24          'd5bd5ff0720cc726998694c2e01e495e' 
25          '1366acdbc5569cd18079d823eb91782c'
26          '8cf005aac291836e574751f49b5fa32b')
28 build() {
29   cd ${srcdir}/${pkgname}-${pkgver}
31   patch -p1 -i ../count-vcards-buffer-overflow.diff
32   patch -p1 -i ../field-names-comply-with-vCard2.1diff
33   patch -p1 -i ../manpage-Lb-definition.diff
34   patch -p1 -i ../accept-line-folding.diff
36   ./configure --prefix=/usr
37   make || return 1
38   make DESTDIR=${pkgdir} install
39   find ${pkgdir} -name '*.la' -exec rm {} \;