mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-12-08 23:03:46 +00:00
29 lines
956 B
Bash
29 lines
956 B
Bash
# $Id: PKGBUILD 2624 2009-09-19 18:08:27Z foutrelis $
|
|
# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
|
|
# Contributor: Sergej Pupykin <pupykin.s+arch@gmail.com>
|
|
|
|
pkgname=mailutils
|
|
pkgver=2.1
|
|
pkgrel=1
|
|
pkgdesc="MUA command line tool (mailx)"
|
|
arch=(i686 x86_64)
|
|
url="http://www.gnu.org/software/mailutils/"
|
|
license=('GPL')
|
|
depends=(libldap tcp_wrappers pam gnutls guile)
|
|
conflicts=(libsieve)
|
|
options=(zipman !emptydirs)
|
|
source=(http://ftp.gnu.org/gnu/mailutils/mailutils-$pkgver.tar.bz2)
|
|
md5sums=('487da91ea03ee9ea79b34782f2b63fca')
|
|
|
|
build() {
|
|
cd "$srcdir/mailutils-$pkgver"
|
|
|
|
./configure --prefix=/usr --with-gdbm --with-gnutls --libexecdir=/usr/lib/$pkgname --without-fribidi
|
|
make || return 1
|
|
make DESTDIR=$pkgdir install || return 1
|
|
|
|
rm -f $pkgdir/usr/share/info/dir && \
|
|
mv $pkgdir/usr/bin/mail $pkgdir/usr/bin/gnu-mail && \
|
|
mv $pkgdir/usr/share/man/man1/mail.1 $pkgdir/usr/share/man/man1/gnu-mail.1 && \
|
|
chown -R root:root $pkgdir
|
|
}
|