summaryrefslogtreecommitdiff
path: root/community/esmtp/PKGBUILD
diff options
context:
space:
mode:
authorNicolas Reynolds <fauno@kiwwwi.com.ar>2011-10-28 11:35:50 -0300
committerNicolas Reynolds <fauno@kiwwwi.com.ar>2011-10-28 11:35:50 -0300
commit8856e6fe26ce35b4caf6beeac324f583ec1b6133 (patch)
treec42a03e2b7610a39d167af36357607399aa40045 /community/esmtp/PKGBUILD
parent5100458465d1ed420073c3213349bf430075ddbc (diff)
parent0424b5fc47f106db6498c4cda3476e1d49fe0f82 (diff)
Merge branch 'master' of ssh://vparabola/home/parabola/abslibre-pre-mips64el
Conflicts: community/esmtp/PKGBUILD community/geany-plugins/PKGBUILD community/giggle/PKGBUILD community/guichan/PKGBUILD community/mxml/PKGBUILD community/ruby-gtk2/PKGBUILD core/libtool/PKGBUILD core/mkinitcpio-busybox/PKGBUILD core/udev/PKGBUILD extra/audacious/PKGBUILD extra/conky/PKGBUILD extra/gnome-control-center/PKGBUILD extra/gtk2/PKGBUILD extra/gtk3/PKGBUILD extra/gvfs/PKGBUILD extra/kdeutils/PKGBUILD extra/kino/PKGBUILD extra/mkvtoolnix/PKGBUILD extra/poppler/PKGBUILD extra/postfix/PKGBUILD extra/pulseaudio/PKGBUILD extra/qtcurve-gtk2/PKGBUILD extra/transmission/PKGBUILD extra/xfburn/PKGBUILD extra/xfce4-xkb-plugin/PKGBUILD extra/xorg-server/PKGBUILD extra/yelp/PKGBUILD kde-unstable/calligra/PKGBUILD multilib/lib32-gtk2/PKGBUILD multilib/lib32-libpulse/PKGBUILD multilib/libtool-multilib/PKGBUILD multilib/wine/PKGBUILD multilib/wine/wine.install
Diffstat (limited to 'community/esmtp/PKGBUILD')
-rw-r--r--community/esmtp/PKGBUILD39
1 files changed, 24 insertions, 15 deletions
diff --git a/community/esmtp/PKGBUILD b/community/esmtp/PKGBUILD
index a65ae4bb0..a29008e29 100644
--- a/community/esmtp/PKGBUILD
+++ b/community/esmtp/PKGBUILD
@@ -1,27 +1,36 @@
-# Maintainer: Loui Chang <louipc dot ist at gmail company>
-# Contributor : Jeff Mickey <j@codemac.net>
-# Contributor : Aaron Griffin <aaron@archlinux.org>
+# Maintainer: Lukas Fleischer <archlinux at cryptocrack dot de>
+# Contributor: 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"
+pkgrel=4
+pkgdesc="An easy SMTP forwarder."
arch=('i686' 'x86_64' 'mips64el')
-url="http://esmtp.sourceforge.net"
+url='http://esmtp.sourceforge.net'
license=('GPL')
depends=('libesmtp' 'openssl')
-optdepends=('liblockfile: for esmtp-wrapper script')
+optdepends=('liblockfile: for esmtp-wrapper script'
+ 'procmail: for local mail delivery')
provides=('smtp-forwarder')
-source=(http://downloads.sourceforge.net/${pkgname}/${pkgname}-${pkgver}.tar.bz2)
+source=("http://downloads.sourceforge.net/${pkgname}/${pkgname}-${pkgver}.tar.bz2")
md5sums=('79a9c1f9023d53f35bb82bf446150a72')
-build(){
- cd ${srcdir}/${pkgname}-${pkgver}
+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
+ make
+}
+
+package() {
+ cd "${srcdir}/${pkgname}-${pkgver}"
+
+ make DESTDIR="${pkgdir}" install
+
+ install -Dm0644 README "${pkgdir}/usr/share/doc/esmtp/README"
+ install -Dm0644 sample.esmtprc "${pkgdir}/usr/share/doc/esmtp/sample.esmtprc"
+ install -Dm0755 esmtp-wrapper "${pkgdir}/usr/share/esmtp/esmtp-wrapper"
+ install -Dm0755 ylwrap "${pkgdir}/usr/share/esmtp/ylwrap"
}