updated on Sat Jan 14 12:12:45 UTC 2012
[aur-mirror.git] / abook-vcard / PKGBUILD
blob640964b92829da70b628e5bcf6b7ebf7d8e1c286
1 # Maintainer: Peter Lewis <plewis@aur.archlinux.org>
2 # Contributor: damir <damir@archlinux.org>
3 # Contributor: Thayer Williams <thayer@archlinux.org>
4 # Contributor: Daniel J Griffiths <ghost1227@archlinux.us>
5 # Contributor: Gaetan Bisson <bisson@archlinux.org>
7 _pkgname=abook
8 pkgname=$_pkgname-vcard
9 pkgver=0.6.0pre2
10 pkgrel=1
11 pkgdesc='Text-based addressbook designed for use with Mutt, with vcard patch'
12 arch=('i686' 'x86_64')
13 url='http://abook.sourceforge.net/'
14 license=('GPL2')
15 depends=('readline')
16 provides=('abook')
17 conflicts=('abook')
18 source=("http://abook.sourceforge.net/devel/abook-${pkgver}.tar.gz"
19                 "http://abook.sourceforge.net/patches/abook_vcard_import.patch")
20 sha256sums=('59d444504109dd96816e003b3023175981ae179af479349c34fa70bc12f6d385'
21             '42344474cf8ad64d7937aa20d322b0e5f39736c51445d803a05f0733ee7ce5c1')
23 build() {
24         cd "${srcdir}/${_pkgname}-${pkgver}"
25         patch -p1 < ../abook_vcard_import.patch
26         ./configure --prefix=/usr --mandir=/usr/share/man
27         make
30 package() {
31         cd "${srcdir}/${_pkgname}-${pkgver}"
32         make DESTDIR="${pkgdir}" install