summaryrefslogtreecommitdiff
path: root/extra/abook/PKGBUILD
blob: 5bb411e97c9766cebbceaf42d4b201bb14541b8f (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
31
32
33
34
35
36
# $Id: PKGBUILD 199323 2013-11-11 01:53:25Z bisson $
# Maintainer: Gaetan Bisson <bisson@archlinux.org>
# Contributor: Daniel J Griffiths <ghost1227@archlinux.us>
# Contributor: Thayer Williams <thayer@archlinux.org>
# Contributor: damir <damir@archlinux.org>

pkgname=abook
pkgver=0.6.0pre2.20131110
pkgrel=1
pkgdesc='Text-based addressbook designed for use with Mutt'
url='http://abook.sourceforge.net/'
arch=('i686' 'x86_64' 'mips64el')
license=('GPL2')
makedepends=('git')
depends=('readline')
source=("abook::git://abook.git.sourceforge.net/gitroot/abook/abook#commit=2e3d4f7341e154bf09907aabcdfe73345cc72e68"
        'vcard.patch')
sha1sums=('SKIP'
          '7f58e32814510ae491fadaa9f06d787ccd2ecfcd')

prepare() {
	cd "${srcdir}/${pkgname}"
	patch -p1 -i ../vcard.patch
}

build() {
	cd "${srcdir}/${pkgname}"
	./configure --prefix=/usr --mandir=/usr/share/man
	make
	cd po && make update-po
}

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