Date: Thursday, February 21, 2013 @ 11:08:58 Author: bisson Revision: 178406
implement FS#33957 Modified: postfix/trunk/PKGBUILD ----------+ PKGBUILD | 13 ++++++------- 1 file changed, 6 insertions(+), 7 deletions(-) Modified: PKGBUILD =================================================================== --- PKGBUILD 2013-02-21 06:59:07 UTC (rev 178405) +++ PKGBUILD 2013-02-21 10:08:58 UTC (rev 178406) @@ -5,7 +5,7 @@ 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 @@ -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 @@ 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"
