Date: Tuesday, November 15, 2022 @ 13:04:06
  Author: andyrtr
Revision: 461701

archrelease: copy trunk to extra-x86_64

Added:
  bogofilter/repos/extra-x86_64/PKGBUILD
    (from rev 461700, bogofilter/trunk/PKGBUILD)
  bogofilter/repos/extra-x86_64/keys/
Deleted:
  bogofilter/repos/extra-x86_64/PKGBUILD
  bogofilter/repos/extra-x86_64/keys/

----------+
 PKGBUILD |  123 ++++++++++++++++++++++++++++++-------------------------------
 1 file changed, 62 insertions(+), 61 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD    2022-11-15 13:03:50 UTC (rev 461700)
+++ PKGBUILD    2022-11-15 13:04:06 UTC (rev 461701)
@@ -1,61 +0,0 @@
-# Maintainer: AndyRTR <[email protected]>
-# Contributor: tobias <[email protected]>
-# Contributor: Low Kian Seong <[email protected]>
-
-pkgname=bogofilter
-pkgver=1.2.5
-pkgrel=5
-pkgdesc="A fast Bayesian spam filtering tool"
-arch=('x86_64')
-license=('GPL3')
-url="https://bogofilter.sourceforge.io/";
-depends=('db' 'perl' 'gsl') # 'sqlite'
-makedepends=('valgrind' 'xmlto')
-backup=('etc/bogofilter/bogofilter.cf')
-source=(https://downloads.sourceforge.net/project/${pkgname}/${pkgname}-stable/${pkgname}-${pkgver}.tar.xz{,.asc})
 # asc file doesn't  work with pacman
-sha1sums=('c779c3afb3e57ae0208ee503a854aff716b0cafd'
-          'SKIP')
-sha256sums=('3248a1373bff552c500834adbea4b6caee04224516ae581fb25a4c6a6dee89ea'
-            'SKIP')
-validpgpkeys=('DC4A655BD993CD4871FA8210E412B156EFF3855A') # "Matthias Andree 
<[email protected]>"
-
-# note: build system doesn't allow easy overlinking prevention - no libtool 
hack possible
-
-prepare() {
-  cd "$pkgname-$pkgver"
-  autoreconf -vfi
-}
-
-# keep Berkeley DB as backend for now
-# sqlite3 based backend doesn't allow
-# to use db-transaction option that is
-# used to bf_compact the wordlist.db
-# other backend aren't available 
-# currently in Arch repos
-# as of 1.2.5 new backend can be KyotoCabinet and lmdb
-
-build() {
-  cd "${pkgname}"-${pkgver}
-  ./configure --prefix=/usr \
-              --sysconfdir=/etc/bogofilter  \
-              --localstatedir=/var \
-              --enable-transactions \
-              --with-database=db  #--help
-  make
-}
-
-check() {
-  cd "$pkgname"-$pkgver
-  BF_RUN_VALGRIND=1 make -k -C src check || /bin/true
-}
-
-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/"
-  rm "${pkgdir}"/usr/share/${pkgname}/contrib/bogogrep.o
-}

Copied: bogofilter/repos/extra-x86_64/PKGBUILD (from rev 461700, 
bogofilter/trunk/PKGBUILD)
===================================================================
--- PKGBUILD                            (rev 0)
+++ PKGBUILD    2022-11-15 13:04:06 UTC (rev 461701)
@@ -0,0 +1,62 @@
+# Maintainer: AndyRTR <[email protected]>
+# Contributor: tobias <[email protected]>
+# Contributor: Low Kian Seong <[email protected]>
+
+pkgname=bogofilter
+pkgver=1.2.5
+pkgrel=5
+pkgdesc="A fast Bayesian spam filtering tool"
+arch=('x86_64')
+license=('GPL3')
+url="https://bogofilter.sourceforge.io/";
+depends=('db' 'perl' 'gsl') # 'sqlite'
+makedepends=('valgrind' 'xmlto')
+backup=('etc/bogofilter/bogofilter.cf')
+options=('debug')
+source=(https://downloads.sourceforge.net/project/${pkgname}/${pkgname}-stable/${pkgname}-${pkgver}.tar.xz{,.asc})
 # asc file doesn't  work with pacman
+sha1sums=('c779c3afb3e57ae0208ee503a854aff716b0cafd'
+          'SKIP')
+sha256sums=('3248a1373bff552c500834adbea4b6caee04224516ae581fb25a4c6a6dee89ea'
+            'SKIP')
+validpgpkeys=('DC4A655BD993CD4871FA8210E412B156EFF3855A') # "Matthias Andree 
<[email protected]>"
+
+# note: build system doesn't allow easy overlinking prevention - no libtool 
hack possible
+
+prepare() {
+  cd "$pkgname-$pkgver"
+  autoreconf -vfi
+}
+
+# keep Berkeley DB as backend for now
+# sqlite3 based backend doesn't allow
+# to use db-transaction option that is
+# used to bf_compact the wordlist.db
+# other backend aren't available 
+# currently in Arch repos
+# as of 1.2.5 new backend can be KyotoCabinet and lmdb
+
+build() {
+  cd "${pkgname}"-${pkgver}
+  ./configure --prefix=/usr \
+              --sysconfdir=/etc/bogofilter  \
+              --localstatedir=/var \
+              --enable-transactions \
+              --with-database=db  #--help
+  make
+}
+
+check() {
+  cd "$pkgname"-$pkgver
+  BF_RUN_VALGRIND=1 make -k -C src check || /bin/true
+}
+
+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/"
+  rm "${pkgdir}"/usr/share/${pkgname}/contrib/bogogrep.o
+}

Reply via email to