updated on Mon Jan 16 20:00:43 UTC 2012
[aur-mirror.git] / nmh / PKGBUILD
blobe1f2af5ae196ef28e52dffede68812a04323e24d
1 # Contributor: Chris Brannon <cmbrannon79@gmail.com>
3 pkgname=nmh
4 pkgver=1.3
5 pkgrel=7
6 pkgdesc="Powerful electronic mail handling system, based on a set of command-line utilities."
7 arch=('i686' 'x86_64')
8 url="http://www.nongnu.org/nmh/"
9 license=('custom')
10 changelog='ChangeLog'
11 source=("http://download.savannah.nongnu.org/releases/nmh/$pkgname-$pkgver.tar.gz")
12 md5sums=('a52d1f93e780d7a045207451ce6c9a4e')
13 backup=(etc/nmh/MailAliases etc/nmh/components etc/nmh/digestcomps
14         etc/nmh/distcomps etc/nmh/forwcomps etc/nmh/mhl.body etc/nmh/mhl.digest
15         etc/nmh/mhl.format etc/nmh/mhl.forward etc/nmh/mhl.headers
16         etc/nmh/mhl.reply etc/nmh/mhn.defaults etc/nmh/mts.conf
17         etc/nmh/rcvdistcomps etc/nmh/rcvdistcomps.outbox etc/nmh/replcomps
18         etc/nmh/replgroupcomps etc/nmh/scan.MMDDYY etc/nmh/scan.YYYYMMDD
19         etc/nmh/scan.default etc/nmh/scan.mailx etc/nmh/scan.nomime
20         etc/nmh/scan.size etc/nmh/scan.time etc/nmh/scan.timely
21         etc/nmh/scan.unseen)
22 depends=(db sh)
23 options=('!makeflags')
25 build() {
26     cd "$startdir/src/$pkgname-$pkgver"
28     ./configure --prefix=/usr --sysconfdir=/etc/nmh --libdir="/usr/lib/nmh"
29     make || return 1
30     make DESTDIR="$pkgdir/" install
32     install -d -m755 "$pkgdir/usr/share/licenses/nmh"
33     install -m644 COPYRIGHT "$pkgdir/usr/share/licenses/nmh/"