1 # Maintainer: Geert Hendrickx <geert@hendrickx.be>
2 # Contributor: Mikael Eriksson <mikael_miffe_eriksson@yahoo.se>
7 pkgdesc="Fast, intelligent, automatic spam detector using Paul Graham style Bayesian analysis of word counts in spam and non-spam emails"
9 url="http://spamprobe.sourceforge.net/"
10 license=('custom:QPL')
12 source=(http://downloads.sourceforge.net/spamprobe/$pkgname-$pkgver.tar.gz
13 spamprobe-db5.patch spamprobe-gcc43.patch spamprobe-png.patch)
14 sha256sums=('217ce47dcc6f58d8201fbb0a5e2dc38b5b06349fadb1378fb3647ad8a3f44d68'
15 '74c047a55a6e9a553bee29b5f46725b43821fa29630e2ca2ab348ea0852d070d'
16 '2f1a60295b2832a8c174efb2efa3d54a9268235795560b35a63f2b31bfd59019'
17 '3e99cf08dab2a461e1afada44d809dee2407ec990b3e76175fc026cda2830ded')
20 cd "$srcdir/$pkgname-$pkgver"
22 patch -p0 -i $srcdir/spamprobe-gcc43.patch
23 patch -p0 -i $srcdir/spamprobe-png.patch
24 patch -p0 -i $srcdir/spamprobe-db5.patch
26 ./configure --prefix=/usr
28 make DESTDIR="$pkgdir" install
29 install -D -m644 LICENSE.txt $pkgdir/usr/share/licenses/$pkgname/LICENSE
32 # vim:set ts=2 sw=2 et: