diff options
author | Erich Eckner <git@eckner.net> | 2019-12-12 12:06:21 +0100 |
---|---|---|
committer | Erich Eckner <git@eckner.net> | 2019-12-12 12:06:21 +0100 |
commit | 4878f395f38f913102ba926ea5ef18136ffe5ad9 (patch) | |
tree | f2f3252396e2a09f94113e7b2362fb735e1db079 /spamassassin-courier/PKGBUILD | |
parent | 35fe2879dc86b526dc98a80c90bde0368bc29931 (diff) | |
download | archlinuxewe-4878f395f38f913102ba926ea5ef18136ffe5ad9.tar.xz |
spamassassin-courier: now really buildable ...
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" |