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

Aaron Griffin's avatar
Aaron Griffin committed
6
pkgname=abook
7
8
pkgver=0.6.0pre2.20130724
pkgrel=1
9
10
pkgdesc='Text-based addressbook designed for use with Mutt'
url='http://abook.sourceforge.net/'
11
arch=('i686' 'x86_64')
Eric Bélanger's avatar
Eric Bélanger committed
12
license=('GPL2')
13
makedepends=('git')
Aaron Griffin's avatar
Aaron Griffin committed
14
depends=('readline')
15
16
source=("abook::git://abook.git.sourceforge.net/gitroot/abook/abook#commit=2e3d4f7341e154bf09907aabcdfe73345cc72e68")
sha1sums=('SKIP')
Aaron Griffin's avatar
Aaron Griffin committed
17
18

build() {
19
	cd "${srcdir}/${pkgname}"
20
21
	./configure --prefix=/usr --mandir=/usr/share/man
	make
22
	cd po && make update-po
Aaron Griffin's avatar
Aaron Griffin committed
23
24
}

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