extra/bogofilter to 1.2.5-4

This commit is contained in:
Kevin Mihelich 2022-01-03 15:11:47 +00:00
parent cba9d61bfc
commit bd2bd889f7
1 changed files with 9 additions and 1 deletions

View File

@ -7,7 +7,7 @@
pkgname=bogofilter
pkgver=1.2.5
pkgrel=3
pkgrel=4
pkgdesc="A fast Bayesian spam filtering tool"
arch=('x86_64')
license=('GPL3')
@ -20,6 +20,13 @@ sha1sums=('c779c3afb3e57ae0208ee503a854aff716b0cafd'
'SKIP')
validpgpkeys=('DC4A655BD993CD4871FA8210E412B156EFF3855A') # "Matthias Andree <mandree@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
@ -51,4 +58,5 @@ package() {
install -dm755 "${pkgdir}/usr/share/${pkgname}/contrib"
install -m644 contrib/* "${pkgdir}/usr/share/${pkgname}/contrib/"
rm "${pkgdir}"/usr/share/${pkgname}/contrib/bogogrep.o
}