PKGBUILD 662 Bytes
Newer Older
Thayer Williams's avatar
Thayer Williams committed
1
2
3
# Contributor: damir <damir@archlinux.org>
# Maintainer: Thayer Williams <thayer@archlinux.org>

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

build() {
Thayer Williams's avatar
Thayer Williams committed
16
17
  cd ${srcdir}/${pkgname}-${pkgver}
  ./configure --prefix=/usr || return 1
Aaron Griffin's avatar
Aaron Griffin committed
18
  make || return 1
Thayer Williams's avatar
Thayer Williams committed
19
  make prefix=${pkgdir}/usr install || return 1
Thayer Williams's avatar
Thayer Williams committed
20
  install -d ${pkgdir}/usr/share || return 1
Thayer Williams's avatar
Thayer Williams committed
21
  mv ${pkgdir}/usr/man ${pkgdir}/usr/share || return 1
Aaron Griffin's avatar
Aaron Griffin committed
22
23
}