updated on Thu Jan 26 16:09:46 UTC 2012
[aur-mirror.git] / nmh / PKGBUILD
bloba7bbdabfde803acb22bf00d68341d0ef8bb4c351
1 # Contributor: Chris Brannon <cmbrannon79@gmail.com>
3 pkgname=nmh
4 pkgver=1.4
5 pkgrel=1
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 backup=(etc/nmh/MailAliases etc/nmh/components etc/nmh/digestcomps
13         etc/nmh/distcomps etc/nmh/forwcomps etc/nmh/mhl.body etc/nmh/mhl.digest
14         etc/nmh/mhl.format etc/nmh/mhl.forward etc/nmh/mhl.headers
15         etc/nmh/mhl.reply etc/nmh/mhn.defaults etc/nmh/mts.conf
16         etc/nmh/rcvdistcomps etc/nmh/rcvdistcomps.outbox etc/nmh/replcomps
17         etc/nmh/replgroupcomps etc/nmh/scan.MMDDYY etc/nmh/scan.YYYYMMDD
18         etc/nmh/scan.default etc/nmh/scan.mailx etc/nmh/scan.nomime
19         etc/nmh/scan.size etc/nmh/scan.time etc/nmh/scan.timely
20         etc/nmh/scan.unseen)
21 depends=(db sh)
22 options=('!makeflags')
24 build() {
25     cd "$startdir/src/$pkgname-$pkgver"
27     ./configure --prefix=/usr --sysconfdir=/etc/nmh --libdir="/usr/lib/nmh"
28     make || return 1
29     make DESTDIR="$pkgdir/" install
31     install -d -m755 "$pkgdir/usr/share/licenses/nmh"
32     install -m644 COPYRIGHT "$pkgdir/usr/share/licenses/nmh/"
34 md5sums=('ef55286a821c53dc52b8974977c011ca')