updated on Thu Jan 12 08:01:00 UTC 2012
[aur-mirror.git] / etpan / PKGBUILD
blobc343f8c0bf3b93767390abb2b4a5eca1c300a591
1 # Maintainer: TDY <tdy@gmx.com>
3 pkgname=etpan
4 pkgver=0.7.1
5 pkgrel=2
6 pkgdesc="A console mail user agent based on libetpan"
7 arch=('i686' 'x86_64')
8 url="http://www.etpan.org/etpan/"
9 license=('BSD')
10 depends=('libetpan>=0.42' 'libldap')
11 makedepends=('bison')
12 optdepends=('bogofilter: SPAM management'
13             'gnupg:      PGP signing and encryption'
14             'openssl:    S/MIME signing and encryption'
15             'perl:       vtree generator script')
16 source=(http://downloads.sourceforge.net/lib$pkgname/$pkgname-ng-$pkgver.tar.gz)
17 md5sums=('c4ab9a5471d84be930809950bae9fd69')
19 build() {
20   cd "$srcdir/$pkgname-ng-$pkgver"
21   ./configure --prefix=/usr
22   make || return 1
25 package() {
26   cd "$srcdir/$pkgname-ng-$pkgver"
27   make prefix="$pkgdir/usr" install
28   install -cm755 contrib/$pkgname-make-vtree.pl "$pkgdir/usr/bin/"
29   install -Dm644 contrib/vim-syntax/etpancfg.vim \
30     "$pkgdir/usr/share/vim/syntax/etpancfg.vim"
31   install -Dm644 doc/CONFIG "$pkgdir/usr/share/doc/$pkgname/CONFIG"
32   install -Dm644 README "$pkgdir/usr/share/doc/$pkgname/README"
33   install -Dm644 COPYRIGHT "$pkgdir/usr/share/licenses/$pkgname/COPYING"