updated on Tue Jan 10 04:01:21 UTC 2012
[aur-mirror.git] / spambayes / PKGBUILD
blob08975c0478dca7e5b3b23a5a9187f148f660a9bf
1 # Adopted
2 # Contributor: Michael Hiller <glako-at-sojasau.de>
4 pkgname=spambayes
5 pkgver=1.1a6
6 pkgrel=2
7 pkgdesc="Bayesian anti-spam classifier written in Python"
8 arch=('i686' 'x86_64')
9 url="http://spambayes.sourceforge.net/"
10 license=('PSF')
11 makedepends=('tar')
12 depends=('python2')
13 source=("http://downloads.sourceforge.net/sourceforge/$pkgname/$pkgname-$pkgver.tar.gz")
14 md5sums=('d06ed6d097911ddc8db31b4e9663df4b')
16 build() {
17   cd $startdir/src/$pkgname-$pkgver
18   python2 setup.py bdist
19   cd dist
20   tar -zxvf $pkgname-$pkgver.linux-$CARCH.tar.gz
21   mv usr $startdir/pkg