diff options
Diffstat (limited to 'libre/bogofilter-libre/PKGBUILD')
-rw-r--r-- | libre/bogofilter-libre/PKGBUILD | 43 |
1 files changed, 0 insertions, 43 deletions
diff --git a/libre/bogofilter-libre/PKGBUILD b/libre/bogofilter-libre/PKGBUILD deleted file mode 100644 index ff674ed58..000000000 --- a/libre/bogofilter-libre/PKGBUILD +++ /dev/null @@ -1,43 +0,0 @@ -# $Id: PKGBUILD 196818 2013-10-20 08:27:26Z andyrtr $ -# Maintainer: AndyRTR <andyrtr@archlinux.org> -# Contributor: tobias <tobias@archlinux.org> -# Contributor: Low Kian Seong <fastmail_low@speedymail.org> - -_pkgname=bogofilter -pkgname=bogofilter-libre -pkgver=1.2.4 -pkgrel=1 -pkgdesc="A fast Bayesian spam filtering tool, without noncommercial files" -arch=('i686' 'x86_64' 'mips64el') -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=('d0a5eebb3274b23ceabe766a6443a1c5') -provides=("${_pkgname}=${pkgver}") -replaces=("${_pkgname}") -conflicts=("${_pkgname}") - -build() { - cd ${_pkgname}-${pkgver} - - # Remove noncommercial files. - rm doc/bogofilter-SA-{2005-0{1,2},2010-01} - - ./configure --prefix=/usr \ - --sysconfdir=/etc/bogofilter \ - --localstatedir=/var \ - --enable-transactions - make -} - -package() { - cd ${_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/" -} |