diff options
Diffstat (limited to 'community/esmtp/PKGBUILD')
-rw-r--r-- | community/esmtp/PKGBUILD | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/community/esmtp/PKGBUILD b/community/esmtp/PKGBUILD new file mode 100644 index 000000000..f419feab9 --- /dev/null +++ b/community/esmtp/PKGBUILD @@ -0,0 +1,27 @@ +# Maintainer: Loui Chang <louipc dot ist at gmail company> +# Contributor : Jeff Mickey <j@codemac.net> +# Contributor : Aaron Griffin <aaron@archlinux.org> + +pkgname=esmtp +pkgver=1.2 +pkgrel=3 +pkgdesc="An easy smtp forwarder" +arch=('i686' 'x86_64') +url="http://esmtp.sourceforge.net" +license=('GPL') +depends=('libesmtp' 'openssl') +optdepends=('liblockfile: for esmtp-wrapper script') +provides=('smtp-forwarder') +source=(http://downloads.sourceforge.net/${pkgname}/${pkgname}-${pkgver}.tar.bz2) +md5sums=('79a9c1f9023d53f35bb82bf446150a72') + +build(){ + cd ${srcdir}/${pkgname}-${pkgver} + + ./configure --prefix=/usr --sysconfdir=/etc + make || return 1 + make DESTDIR=${pkgdir} install + install -D -m644 README ${pkgdir}/usr/share/esmtp/README + install -m755 esmtp-wrapper ${pkgdir}/usr/share/esmtp/esmtp-wrapper + install -m755 ylwrap ${pkgdir}/usr/share/esmtp/ylwrap +} |