# $Id: PKGBUILD 82 2009-07-17 19:56:55Z aaron $ # Maintainer: Sergej Pupykin # Contributor: Sergej Pupykin # Contributor: Andreas Wagner pkgname=mailx-heirloom pkgver=12.4 pkgrel=2 pkgdesc="MUA command line tool (mailx)" arch=(i686 x86_64) url="http://heirloom.sourceforge.net/mailx.html" license=('custom') depends=('heimdal') replaces=('nail') provides=('mailx') backup=(etc/nail.rc) options=(zipman) source=(http://downloads.sourceforge.net/sourceforge/heirloom/mailx-$pkgver.tar.bz2) md5sums=('0c93759e34200eb56a0e7c464680a54a') build() { cd "$srcdir/mailx-$pkgver" make SENDMAIL=/usr/sbin/sendmail MAILSPOOL=/var/spool/mail all || return 1 make UCBINSTALL=/bin/install STRIP=/usr/bin/strip PREFIX=/usr DESTDIR=$startdir/pkg install || return 1 install -D -m0644 COPYING $pkgdir/usr/share/licenses/mailx-heirloom/LICENSE && \ ln -s /usr/bin/mailx $pkgdir/usr/bin/nail }