1 # Maintainer: Peter Lewis <plewis@aur.archlinux.org>
2 # Contributor: damir <damir@archlinux.org>
3 # Contributor: Thayer Williams <thayer@archlinux.org>
4 # Contributor: Daniel J Griffiths <ghost1227@archlinux.us>
5 # Contributor: Gaetan Bisson <bisson@archlinux.org>
6 # Contributor: Fabio Zanini <fabio.zanini@fastmail.fm>
8 pkgname=abook-muttgroups
11 pkgdesc='abook clone with mutt group, merge and delete duplicates patches'
12 arch=('i686' 'x86_64')
13 url='https://gitorious.org/abook/abook'
17 conflicts=('abook' 'abook-vcard')
18 _gitroot='git://gitorious.org/abook/abook.git'
24 msg "Connecting to the GIT server...."
26 if [ -d ${srcdir}/${_gitname} ] ; then
27 cd ${_gitname} && git checkout groups && git pull origin
28 msg "The local files are updated."
30 git clone -b groups ${_gitroot}
33 cd ${srcdir}/${_gitname}
34 msg "GIT checkout done or server timeout"
36 msg "Starting make..."
37 ./configure --prefix=/usr --mandir=/usr/share/man
42 cd ${srcdir}/${_gitname}
43 make DESTDIR="${pkgdir}" install