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

Aaron Griffin's avatar
Aaron Griffin committed
5
pkgname=abook
6
pkgver=0.6.0pre2
Aaron Griffin's avatar
Aaron Griffin committed
7
pkgrel=2
Thayer Williams's avatar
Thayer Williams committed
8
pkgdesc="A text-based addressbook designed for use with mutt"
9
arch=('i686' 'x86_64')
Aaron Griffin's avatar
Aaron Griffin committed
10
url="http://abook.sourceforge.net"
Eric Bélanger's avatar
Eric Bélanger committed
11
license=('GPL2')
Aaron Griffin's avatar
Aaron Griffin committed
12
depends=('readline')
Daniel Griffiths's avatar
Daniel Griffiths committed
13
source=(http://abook.sourceforge.net/devel/abook-${pkgver}.tar.gz)
14
md5sums=('1e4a7210b3507db7b3d47ee7a2457934')
Aaron Griffin's avatar
Aaron Griffin committed
15
16

build() {
Daniel Griffiths's avatar
Daniel Griffiths committed
17
18
19
20
	cd ${srcdir}/${pkgname}-${pkgver}

	./configure --prefix=/usr || return 1
	make || return 1
Aaron Griffin's avatar
Aaron Griffin committed
21
22
}

Daniel Griffiths's avatar
Daniel Griffiths committed
23
24
25
26
27
28
29
package() {
	cd ${srcdir}/${pkgname}-${pkgver}

	make prefix=${pkgdir}/usr install || return 1
	install -d ${pkgdir}/usr/share || return 1
	mv ${pkgdir}/usr/man ${pkgdir}/usr/share || return 1
}