mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-12-08 23:03:46 +00:00
30 lines
994 B
Bash
30 lines
994 B
Bash
|
# $Id: PKGBUILD 82 2009-07-17 19:56:55Z aaron $
|
||
|
# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
|
||
|
# Contributor: Sergej Pupykin <pupykin.s+arch@gmail.com>
|
||
|
# Contributor: Andreas Wagner <Andreas dot Wagner at em dot uni-frankfurt dot de>
|
||
|
|
||
|
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
|
||
|
}
|