[arch-commits] Commit in bogofilter/trunk (PKGBUILD)
Andreas Radke
andyrtr at gemini.archlinux.org
Mon Jan 3 13:21:52 UTC 2022
Date: Monday, January 3, 2022 @ 13:21:51
Author: andyrtr
Revision: 433331
upgpkg: bogofilter 1.2.5-4: remove unneeded bogogrep.o from package
Modified:
bogofilter/trunk/PKGBUILD
----------+
PKGBUILD | 10 +++++++++-
1 file changed, 9 insertions(+), 1 deletion(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2022-01-03 13:01:58 UTC (rev 433330)
+++ PKGBUILD 2022-01-03 13:21:51 UTC (rev 433331)
@@ -4,7 +4,7 @@
pkgname=bogofilter
pkgver=1.2.5
-pkgrel=3
+pkgrel=4
pkgdesc="A fast Bayesian spam filtering tool"
arch=('x86_64')
license=('GPL3')
@@ -17,6 +17,13 @@
'SKIP')
validpgpkeys=('DC4A655BD993CD4871FA8210E412B156EFF3855A') # "Matthias Andree <mandree at FreeBSD.org>"
+# note: build system doesn't allow easy overlinking prevention - no libtool hack possible
+
+prepare() {
+ cd "$pkgname-$pkgver"
+ autoreconf -vfi
+}
+
# keep Berkeley DB as backend for now
# sqlite3 based backend doesn't allow
# to use db-transaction option that is
@@ -48,4 +55,5 @@
install -dm755 "${pkgdir}/usr/share/${pkgname}/contrib"
install -m644 contrib/* "${pkgdir}/usr/share/${pkgname}/contrib/"
+ rm "${pkgdir}"/usr/share/${pkgname}/contrib/bogogrep.o
}
More information about the arch-commits
mailing list