updated on Thu Jan 26 00:18:00 UTC 2012
[aur-mirror.git] / re-alpine-fancythreading / PKGBUILD
blob7fba7f25a5d739c71fdad7a8ec8e205801694b62
1 # $Id$
2 # Maintainer:  Eric BĂ©langer <eric@archlinux.org>
3 # Contributor: Smith Dhumbumroong <zodmaner@gmail.com>
5 pkgname=re-alpine-fancythreading
6 real_pkgname=re-alpine
7 pkgver=2.02
8 pkgrel=4
9 pkgdesc="The continuation of the Alpine email client from University of Washington. Including Enhanced fancy threading patch."
10 arch=('i686' 'x86_64')
11 url="http://sourceforge.net/projects/re-alpine/"
12 license=('APACHE')
13 depends=('libldap' 'krb5')
14 optdepends=('aspell: spell-checking support'
15             'hunspell: spell-checking support')
16 provides=('pine' 'alpine')
17 conflicts=('pine' 'alpine' 're-alpine')
18 replaces=('pine' 'alpine')
19 options=('!makeflags')
20 source=(http://downloads.sourceforge.net/project/re-alpine/${real_pkgname}-${pkgver}.tar.bz2 
21         maildir.patch
22         fancy.patch)
23 md5sums=('5e75826b15f05674856be8618bdefdfb'
24          '8d7a0e8d940e84e978f50266405c7361'
25          '656a8cacf5adb5884abd7dbb51e20f5f')
26 sha1sums=('9c2f13dbc7ca75e7a09f81df607db84694b10fa6'
27           'c09a8e42f9dba3e63a3755a9c418af95da721d8d'
28           'cac10cf4c92d290e5f3bc0946050649bd9172fb9')
30 build() {
31   cd "${srcdir}/${real_pkgname}-${pkgver}"
32   patch -p1 < ../fancy.patch
33   patch -p1 < ../maildir.patch
34    LIBS+=-lpam ./configure --prefix=/usr --without-passfile --without-tcl \
35     --disable-shared --with-system-pinerc=/etc/alpine.d/pine.conf \
36     --with-system-fixed-pinerc=/etc/alpine.d/pine.conf.fixed
37   make
40 package() {
41   cd "${srcdir}/${real_pkgname}-${pkgver}"
42   make DESTDIR="${pkgdir}" install