diff options
Diffstat (limited to 'extra/postfix/PKGBUILD')
-rw-r--r-- | extra/postfix/PKGBUILD | 15 |
1 files changed, 7 insertions, 8 deletions
diff --git a/extra/postfix/PKGBUILD b/extra/postfix/PKGBUILD index bc304e216..0b3bc8e9c 100644 --- a/extra/postfix/PKGBUILD +++ b/extra/postfix/PKGBUILD @@ -1,11 +1,11 @@ -# $Id: PKGBUILD 178150 2013-02-17 00:23:28Z bisson $ +# $Id: PKGBUILD 178407 2013-02-21 10:10:12Z bisson $ # Contributor: Jeff Brodnax <tullyarcher@bellsouth.net> # Contributor: Paul Mattal <paul@archlinux.org> # Maintainer: Gaetan Bisson <bisson@archlinux.org> pkgname=postfix pkgver=2.10.0 -pkgrel=2 +pkgrel=3 pkgdesc='Fast, easy to administer, secure mail server' url='http://www.postfix.org/' license=('custom') @@ -38,6 +38,10 @@ build() { -DHAS_PGSQL -I/usr/include/postgresql \ -DHAS_SQLITE \ -DHAS_CDB \ + -DDEF_MANPAGE_DIR=\"/usr/share/man\" \ + -DDEF_DAEMON_DIR=\"/usr/lib/postfix\" \ + -DDEF_SAMPLE_DIR=\"/etc/postfix/sample\" \ + -DDEF_README_DIR=\"/usr/share/doc/postfix\" \ ' AUXLIBS=' \ -lsasl2 \ -lldap -llber \ @@ -54,12 +58,7 @@ build() { package() { cd "${srcdir}/${pkgname}-${pkgver}" - sh postfix-install -non-interactive \ - install_root="${pkgdir}" \ - daemon_directory="/usr/lib/${pkgname}" \ - sample_directory="/etc/${pkgname}/sample" \ - manpage_directory="/usr/share/man" \ - readme_directory="/usr/share/doc/${pkgname}" \ + sh postfix-install -non-interactive install_root="${pkgdir}" install -Dm755 ../rc.d "${pkgdir}/etc/rc.d/${pkgname}" install -Dm644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE" |