diff options
author | coadde [Márcio Alexandre Silva Delgado] <coadde@parabola.nu> | 2014-09-03 19:24:29 -0300 |
---|---|---|
committer | coadde [Márcio Alexandre Silva Delgado] <coadde@parabola.nu> | 2014-09-03 19:24:29 -0300 |
commit | ee568468630d48fc3ee0657c91477cbb97517a02 (patch) | |
tree | 2e0ea78c49e10df42ec39d0fedee6d5a408d2448 | |
parent | 07625166ab46f6fe5dc88d27ec77987fdd7be9dc (diff) |
rename to bogofilter
-rw-r--r-- | libre/bogofilter/PKGBUILD (renamed from libre/bogofilter-libre/PKGBUILD) | 28 |
1 files changed, 14 insertions, 14 deletions
diff --git a/libre/bogofilter-libre/PKGBUILD b/libre/bogofilter/PKGBUILD index c9f0c0d6a..4ab5f7c66 100644 --- a/libre/bogofilter-libre/PKGBUILD +++ b/libre/bogofilter/PKGBUILD @@ -2,37 +2,37 @@ # Maintainer (Arch): AndyRTR <andyrtr@archlinux.org> # Contributor (Arch): tobias <tobias@archlinux.org> # Contributor (Arch): Low Kian Seong <fastmail_low@speedymail.org> +# Maintainer: Márcio Silva <marcio@parabola.nu> -_pkgname=bogofilter -pkgname=bogofilter-libre +pkgname=bogofilter +_pkgname=$pkgname-libre pkgver=1.2.4 -pkgrel=1 +pkgrel=1.parabola1 pkgdesc="A fast Bayesian spam filtering tool, without noncommercial files" arch=('i686' 'x86_64' 'mips64el') license=('GPL3') -url="http://bogofilter.sourceforge.net" +url="http://$pkgname.sourceforge.net" depends=('db' 'perl' 'gsl') -backup=('etc/bogofilter/bogofilter.cf') -mksource=(http://sourceforge.net/projects/${_pkgname}/files/${_pkgname}-current/${_pkgname}-${pkgver}/${_pkgname}-${pkgver}.tar.bz2) -source=(https://repo.parabolagnulinux.org/other/${pkgname}/${pkgname}-${pkgver}.tar.bz2) +backup=("etc/$pkgname/$pkgname.cf") +mksource=(http://sourceforge.net/projects/${pkgname}/files/${pkgname}-current/${pkgname}-${pkgver}/${pkgname}-${pkgver}.tar.bz2) +source=(https://repo.parabolagnulinux.org/other/${_pkgname}/${_pkgname}-${pkgver}.tar.bz2) mkmd5sums=('d0a5eebb3274b23ceabe766a6443a1c5') md5sums=('cce573e059d39a68cf78097dbfaa5b2d') -provides=("${_pkgname}=${pkgver}") replaces=("${_pkgname}") conflicts=("${_pkgname}") mksource() { - cd ${_pkgname}-${pkgver} + cd ${pkgname}-${pkgver} # Remove noncommercial files. - rm doc/bogofilter-SA-{2005-0{1,2},2010-01} + rm doc/$pkgname-SA-{2005-0{1,2},2010-01} } build() { cd ${_pkgname}-${pkgver} ./configure --prefix=/usr \ - --sysconfdir=/etc/bogofilter \ + --sysconfdir=/etc/$pkgname \ --localstatedir=/var \ --enable-transactions make @@ -42,8 +42,8 @@ package() { cd ${_pkgname}-${pkgver} make DESTDIR="${pkgdir}" install - mv "${pkgdir}/etc/bogofilter/bogofilter.cf.example" "${pkgdir}/etc/bogofilter/bogofilter.cf" + mv "${pkgdir}/etc/$pkgname/$pkgname.cf.example" "${pkgdir}/etc/$pkgname/$pkgname.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/" } |