1234567891011121314151617181920212223242526272829303132 |
- # Template file for 'bogofilter'
- pkgname=bogofilter
- version=1.2.5
- revision=2
- build_style=gnu-configure
- configure_args="--sysconfdir=/etc/${pkgname} --with-database=sqlite"
- hostmakedepends="perl"
- makedepends="gsl-devel sqlite-devel"
- depends="perl"
- short_desc="Fast Bayesian spam filtering tool"
- maintainer="Gour <gour@atmarama.net>"
- license="GPL-3.0-only"
- homepage="http://bogofilter.sourceforge.net"
- distfiles="${SOURCEFORGE_SITE}/${pkgname}/${pkgname}-${version}.tar.xz"
- checksum=3248a1373bff552c500834adbea4b6caee04224516ae581fb25a4c6a6dee89ea
- conf_files="/etc/bogofilter/bogofilter.cf"
- # Liberation
- # Some code has been taken and modified from:
- # https://git.parabola.nu/abslibre.git/tree/libre/bogofilter/PKGBUILD
- post_patch() {
- # Several of the documentation files are nonfree
- rm doc/bogofilter-SA-{2005-0{1,2},2010-01}
- }
- post_install() {
- vinstall bogofilter.cf.example 644 etc/bogofilter bogofilter.cf
- rm ${PKGDESTDIR}/etc/bogofilter/bogofilter.cf.example
- vcopy contrib usr/share/contrib
- }
|