summaryrefslogtreecommitdiff
path: root/extra/abook/PKGBUILD
blob: 6433ad1b097857587e96aff407e130753b67955c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
# $Id: PKGBUILD 160233 2012-05-31 11:55:41Z bisson $
# Contributor: damir <damir@archlinux.org>
# Contributor: Thayer Williams <thayer@archlinux.org>
# Contributor: Daniel J Griffiths <ghost1227@archlinux.us>
# Maintainer: Gaetan Bisson <bisson@archlinux.org>

pkgname=abook
pkgver=0.6.0pre2
pkgrel=5
pkgdesc='Text-based addressbook designed for use with Mutt'
arch=('i686' 'x86_64' 'mips64el')
url='http://abook.sourceforge.net/'
license=('GPL2')
depends=('readline')
source=("http://abook.sourceforge.net/devel/abook-${pkgver}.tar.gz"
        'vcard-compat.patch')
sha1sums=('42a939fba43e51aa011fa185113c12ec4bc1e1ec'
          'feb35deb79116c187953d06e514c7918be5646b6')

build() {
	cd "${srcdir}/${pkgname}-${pkgver}"
	patch -p1 -i ../vcard-compat.patch
	./configure --prefix=/usr --mandir=/usr/share/man
	make
}

package() {
	cd "${srcdir}/${pkgname}-${pkgver}"
	make DESTDIR="${pkgdir}" install
}