PKGBUILD 839 Bytes
Newer Older
Thayer Williams's avatar
Thayer Williams committed
1
# Contributor: damir <damir@archlinux.org>
Daniel Griffiths's avatar
Daniel Griffiths committed
2
# Contributor: Thayer Williams <thayer@archlinux.org>
3
4
# Contributor: Daniel J Griffiths <ghost1227@archlinux.us>
# Maintainer: Gaetan Bisson <bisson@archlinux.org>
Thayer Williams's avatar
Thayer Williams committed
5

Aaron Griffin's avatar
Aaron Griffin committed
6
pkgname=abook
7
pkgver=0.6.0pre2
8
pkgrel=5
9
pkgdesc='Text-based addressbook designed for use with Mutt'
10
arch=('i686' 'x86_64')
11
url='http://abook.sourceforge.net/'
Eric Bélanger's avatar
Eric Bélanger committed
12
license=('GPL2')
Aaron Griffin's avatar
Aaron Griffin committed
13
depends=('readline')
14
15
16
17
source=("http://abook.sourceforge.net/devel/abook-${pkgver}.tar.gz"
        'vcard-compat.patch')
sha1sums=('42a939fba43e51aa011fa185113c12ec4bc1e1ec'
          'feb35deb79116c187953d06e514c7918be5646b6')
Aaron Griffin's avatar
Aaron Griffin committed
18
19

build() {
20
	cd "${srcdir}/${pkgname}-${pkgver}"
21
	patch -p1 -i ../vcard-compat.patch
22
23
	./configure --prefix=/usr --mandir=/usr/share/man
	make
Aaron Griffin's avatar
Aaron Griffin committed
24
25
}

Daniel Griffiths's avatar
Daniel Griffiths committed
26
package() {
27
28
	cd "${srcdir}/${pkgname}-${pkgver}"
	make DESTDIR="${pkgdir}" install
Daniel Griffiths's avatar
Daniel Griffiths committed
29
}