summaryrefslogtreecommitdiff
path: root/extra/bogofilter
diff options
context:
space:
mode:
Diffstat (limited to 'extra/bogofilter')
-rw-r--r--extra/bogofilter/PKGBUILD20
1 files changed, 10 insertions, 10 deletions
diff --git a/extra/bogofilter/PKGBUILD b/extra/bogofilter/PKGBUILD
index c75b6be38..9c939fe03 100644
--- a/extra/bogofilter/PKGBUILD
+++ b/extra/bogofilter/PKGBUILD
@@ -1,21 +1,21 @@
-# $Id: PKGBUILD 110357 2011-02-18 23:42:09Z allan $
+# $Id: PKGBUILD 127873 2011-06-19 06:22:51Z eric $
# Maintainer: tobias <tobias@archlinux.org>
# Contributor: Low Kian Seong <fastmail_low@speedymail.org>
pkgname=bogofilter
pkgver=1.2.2
-pkgrel=2
+pkgrel=3
pkgdesc="A fast Bayesian spam filtering tool"
arch=('i686' 'x86_64' 'mips64el')
-license=(GPL3)
+license=('GPL3')
url="http://bogofilter.sourceforge.net"
depends=('db' 'perl' 'gsl')
-backup=(etc/bogofilter/bogofilter.cf)
+backup=('etc/bogofilter/bogofilter.cf')
source=(http://sourceforge.net/projects/${pkgname}/files/${pkgname}-current/${pkgname}-${pkgver}/${pkgname}-${pkgver}.tar.bz2)
md5sums=('4bcabdf8c5e7efefcb508eda7e80eebc')
build() {
- cd ${srcdir}/${pkgname}-${pkgver}
+ cd "${srcdir}/${pkgname}-${pkgver}"
./configure --prefix=/usr \
--sysconfdir=/etc/bogofilter \
--localstatedir=/var \
@@ -24,11 +24,11 @@ build() {
}
package() {
- cd ${srcdir}/${pkgname}-${pkgver}
- make DESTDIR=${pkgdir} install
+ cd "${srcdir}/${pkgname}-${pkgver}"
+ make DESTDIR="${pkgdir}" install
- mv ${pkgdir}/etc/bogofilter/bogofilter.cf.example ${pkgdir}/etc/bogofilter/bogofilter.cf
+ mv "${pkgdir}/etc/bogofilter/bogofilter.cf.example" "${pkgdir}/etc/bogofilter/bogofilter.cf"
- install -dm755 ${pkgdir}/usr/share/${pkgname}/contrib
- install -m644 contrib/* ${pkgdir}/usr/share/${pkgname}/contrib/
+ install -dm755 "${pkgdir}/usr/share/${pkgname}/contrib"
+ install -m644 contrib/* "${pkgdir}/usr/share/${pkgname}/contrib/"
}