summaryrefslogtreecommitdiff
path: root/extra/abook/PKGBUILD
blob: d634cb171cfa8fcee3e51d1601630107e47bc750 (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 195248 2013-09-29 04:45:52Z 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.20130928
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'
          'ac71e84812c5d57cb8ddaf5b03b7c25cbdf4c3db')

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
}