[arch-commits] Commit in bogofilter/trunk (PKGBUILD)
Allan McRae
allan at archlinux.org
Fri Oct 22 00:50:51 UTC 2010
Date: Thursday, October 21, 2010 @ 20:50:51
Author: allan
Revision: 96529
upgpkg: bogofilter 1.2.1-2
db-5.1 rebuild
Modified:
bogofilter/trunk/PKGBUILD
----------+
PKGBUILD | 12 ++++++++----
1 file changed, 8 insertions(+), 4 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2010-10-22 00:46:39 UTC (rev 96528)
+++ PKGBUILD 2010-10-22 00:50:51 UTC (rev 96529)
@@ -4,12 +4,12 @@
pkgname=bogofilter
pkgver=1.2.1
-pkgrel=1
+pkgrel=2
pkgdesc="A fast Bayesian spam filtering tool"
arch=('i686' 'x86_64')
license=(GPL3)
url="http://bogofilter.sourceforge.net"
-depends=('db>=4.8' 'perl>=5.10.1-2' 'gsl')
+depends=('db' 'perl' 'gsl')
backup=(etc/bogofilter/bogofilter.cf)
source=(http://downloads.sourceforge.net/project/${pkgname}/${pkgname}-stable/${pkgname}-${pkgver}/${pkgname}-${pkgver}.tar.bz2)
md5sums=('2eb802f4e271b99c3d8f68b14f8df9ef')
@@ -20,9 +20,13 @@
--sysconfdir=/etc/bogofilter \
--localstatedir=/var \
--enable-transactions
- make || return 1
- make DESTDIR=${pkgdir} install || return 1
+ make
+}
+package() {
+ cd ${srcdir}/${pkgname}-${pkgver}
+ make DESTDIR=${pkgdir} install
+
mv ${pkgdir}/etc/bogofilter/bogofilter.cf.example ${pkgdir}/etc/bogofilter/bogofilter.cf
install -dm755 ${pkgdir}/usr/share/${pkgname}/contrib
More information about the arch-commits
mailing list