[arch-commits] Commit in bogofilter/repos (3 files)
Stéphane Gaudreault
stephane at archlinux.org
Mon Jan 9 18:52:03 UTC 2012
Date: Monday, January 9, 2012 @ 13:52:03
Author: stephane
Revision: 146324
db-move: moved bogofilter from [staging] to [testing] (i686)
Added:
bogofilter/repos/testing-i686/
bogofilter/repos/testing-i686/PKGBUILD
(from rev 146321, bogofilter/repos/staging-i686/PKGBUILD)
Deleted:
bogofilter/repos/staging-i686/
----------+
PKGBUILD | 34 ++++++++++++++++++++++++++++++++++
1 file changed, 34 insertions(+)
Copied: bogofilter/repos/testing-i686/PKGBUILD (from rev 146321, bogofilter/repos/staging-i686/PKGBUILD)
===================================================================
--- testing-i686/PKGBUILD (rev 0)
+++ testing-i686/PKGBUILD 2012-01-09 18:52:03 UTC (rev 146324)
@@ -0,0 +1,34 @@
+# $Id$
+# Maintainer: tobias <tobias at archlinux.org>
+# Contributor: Low Kian Seong <fastmail_low at speedymail.org>
+
+pkgname=bogofilter
+pkgver=1.2.2
+pkgrel=4
+pkgdesc="A fast Bayesian spam filtering tool"
+arch=('i686' 'x86_64')
+license=('GPL3')
+url="http://bogofilter.sourceforge.net"
+depends=('db' 'perl' 'gsl')
+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}"
+ ./configure --prefix=/usr \
+ --sysconfdir=/etc/bogofilter \
+ --localstatedir=/var \
+ --enable-transactions
+ 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"
+ install -m644 contrib/* "${pkgdir}/usr/share/${pkgname}/contrib/"
+}
More information about the arch-commits
mailing list