PKGBUILDs/extra/nbsmtp/PKGBUILD
2009-10-09 21:23:22 -05:00

22 lines
778 B
Bash

# $Id: PKGBUILD 35714 2009-04-16 03:02:06Z eric $
# Maintainer: dorphell <dorphell@archlinux.org>
# Contributor: Sarah Hay <sarahhay@mb.sympatico.ca>
pkgname=nbsmtp
pkgver=1.00
pkgrel=2
pkgdesc="No-Brainer SMTP client suitable to run in chroot jails, embeded systems, laptops, and workstations"
arch=(i686 x86_64)
url="http://nbsmtp.ferdyx.org/"
license=('GPL')
depends=('openssl')
source=(http://www.it.uc3m.es/~ferdy/nbsmtp/$pkgname-$pkgver.tar.bz2 build.patch)
md5sums=('0c6a200027a6f7f61f44b374261aa52f' '043236152fecb550d80ab3cd84711cd3')
build() {
cd $srcdir/$pkgname-$pkgver
patch -Np0 -i ../build.patch || return 1
./configure --prefix=/usr --enable-ssl || return 1
make || return 1
make prefix=$pkgdir/usr mandir=$pkgdir/usr/share/man install || return 1
}