updated on Thu Jan 19 16:10:29 UTC 2012
[aur-mirror.git] / email / PKGBUILD
blobbad5571f052ac9ed15b298b436abf591b97f7040
1 # Maintainer:  TDY <tdy@gmx.com>
2 # Contributor: Dennis Craven <dcraven @ gmail . com>
4 pkgname=email
5 pkgver=3.1.3
6 pkgrel=1
7 pkgdesc="A simple command line client for SMTP"
8 arch=('i686' 'x86_64')
9 url="http://www.cleancode.org/projects/email/"
10 license=('GPL')
11 depends=('openssl')
12 backup=(etc/email/{email.{address.template,conf,help,sig},mime.types})
13 source=(http://www.cleancode.org/downloads/email/email-$pkgver.tar.bz2)
14 md5sums=('a6f55ad946b4492b9ad05af0d5e4f1fe')
16 build() {
17   cd "$srcdir/email-$pkgver"
18   ./configure --prefix=/usr --sysconfdir=/etc
19   make
22 package() {
23   cd "$srcdir/email-$pkgver"
24   make DESTDIR="$pkgdir" install
25 # install -Dm755 src/email "$pkgdir/usr/bin/email"
26 # install -Dm644 email.1 "$pkgdir/usr/share/man/man1/email.1"
27 # install -Dm644 mime.types "$pkgdir/etc/email/mime.types"
28 # install -cm644 email.{address.template,conf,help,sig} "$pkgdir/etc/email"