diff options
Diffstat (limited to 'spamassassin-courier/PKGBUILD')
-rw-r--r-- | spamassassin-courier/PKGBUILD | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/spamassassin-courier/PKGBUILD b/spamassassin-courier/PKGBUILD index 0a5866c94..8ddae70a5 100644 --- a/spamassassin-courier/PKGBUILD +++ b/spamassassin-courier/PKGBUILD @@ -56,10 +56,6 @@ build() { export PERL_USE_UNSAFE_INC=1 PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor \ CONTACT_ADDRESS=root@localhost ENABLE_SSL=yes PERL_TAINT=no - sed -i ' - /^INSTALL\S*MAN[0-9]\+DIR = / s#\$(INSTALL_BASE)#\0/usr/share# - /^INSTALL\S*\(BIN\|SCRIPT\|ARCH\|LIB\) = / s#\$(INSTALL_BASE)#\0/usr# - ' Makefile make find . -name 'spamd' -type f -execdir patch -p1 -i "${srcdir}/spamd.patch" \; } @@ -75,11 +71,11 @@ build() { package() { cd "${srcdir}/Mail-SpamAssassin-${pkgver}" - make DESTDIR="${pkgdir}" INSTALL_BASE='' install + make DESTDIR="${pkgdir}" install install -D -m644 -t "${pkgdir}/usr/lib/systemd/system/" "${srcdir}/spamassassin.service" "${srcdir}/spamassassin-update.service" "${srcdir}/spamassassin-update.timer" install -d -o 182 -g 182 -m 755 "$pkgdir/var/lib/spamassassin" - install -m444 -t "${pkgdir}/usr/lib/perl5/Mail/SpamAssassin/" "${srcdir}/AuthCourier.pm" + install -m444 -t "${pkgdir}/usr/share/perl5/vendor_perl/Mail/SpamAssassin/" "${srcdir}/AuthCourier.pm" echo 'u spamd 182 - /var/lib/spamassassin' | install -Dm644 /dev/stdin "$pkgdir/usr/lib/sysusers.d/${pkgname%-*}.conf" |