Date: Saturday, June 26, 2021 @ 22:17:43 Author: grawlinson Revision: 967561
archrelease: copy trunk to community-x86_64 Added: dovecot-fts-xapian/repos/community-x86_64/PKGBUILD (from rev 967560, dovecot-fts-xapian/trunk/PKGBUILD) dovecot-fts-xapian/repos/community-x86_64/dovecot-fts-xapian.install (from rev 967560, dovecot-fts-xapian/trunk/dovecot-fts-xapian.install) Deleted: dovecot-fts-xapian/repos/community-x86_64/PKGBUILD dovecot-fts-xapian/repos/community-x86_64/dovecot-fts-xapian.install ----------------------------+ PKGBUILD | 91 ++++++++++++++++++++++++------------------- dovecot-fts-xapian.install | 24 +++++------ 2 files changed, 63 insertions(+), 52 deletions(-) Deleted: PKGBUILD =================================================================== --- PKGBUILD 2021-06-26 22:15:51 UTC (rev 967560) +++ PKGBUILD 2021-06-26 22:17:43 UTC (rev 967561) @@ -1,40 +0,0 @@ -# Maintainer: George Rawlinson <geo...@rawlinson.net.nz> -# Maintainer: Thore Bödecker <fox...@arhclinux.org> - -# This must be built against the version of dovecot being used, -# otherwise it will fail to load and thus work. -# Specify the version of dovecot to be used here: -_dcpkgver=2.3.15 -# Make sure to bump pkgrel if changing this. - -pkgname=dovecot-fts-xapian -_pkgname="${pkgname#dovecot-}" -pkgver=1.4.9b -pkgrel=2 -pkgdesc="Dovecot FTS plugin based on Xapian" -arch=('x86_64') -url="https://github.com/grosjo/fts-xapian" -license=('LGPL2.1') -depends=("dovecot=${_dcpkgver}" 'icu' 'xapian-core') -install="$pkgname.install" -source=("$pkgname-$pkgver.tar.gz::$url/archive/$pkgver.tar.gz") -b2sums=('1f49139d9fb3d334a1adae00b5a3fc364df9a36418c64674db00bac807b681bc3aafd3033f3e38f4696d537fe2f5f772a5e4fd1313b2a0d5c77fea9dfa78bdad') - -build() { - cd "$_pkgname-$pkgver" - autoreconf -vi - ./configure \ - --prefix=/usr \ - --with-dovecot=/usr/lib/dovecot - - make -} - -package() { - cd "$_pkgname-$pkgver" - - make DESTDIR="$pkgdir" install - - # documentation - install -vDm644 -t "$pkgdir/usr/share/doc/$pkgname" README.md -} Copied: dovecot-fts-xapian/repos/community-x86_64/PKGBUILD (from rev 967560, dovecot-fts-xapian/trunk/PKGBUILD) =================================================================== --- PKGBUILD (rev 0) +++ PKGBUILD 2021-06-26 22:17:43 UTC (rev 967561) @@ -0,0 +1,51 @@ +# Maintainer: George Rawlinson <geo...@rawlinson.net.nz> +# Maintainer: Thore Bödecker <fox...@archlinux.org> + +# This must be built against the version of dovecot being used, +# otherwise it will fail to load and thus work. +# Specify the version of dovecot to be used here: +_dcpkgver=2.3.15 +# Make sure to bump pkgrel if changing this. + +pkgname=dovecot-fts-xapian +_pkgname="${pkgname#dovecot-}" +pkgver=1.4.10 +pkgrel=1 +pkgdesc="Dovecot FTS plugin based on Xapian" +arch=('x86_64') +url="https://github.com/grosjo/fts-xapian" +license=('LGPL2.1') +depends=("dovecot=${_dcpkgver}" 'icu' 'xapian-core') +install="$pkgname.install" +source=("$pkgname-$pkgver.tar.gz::$url/archive/$pkgver.tar.gz") +b2sums=('9f886bbb3a3786451e86207f0dd856c56b1facde21facdbeb6d8fbe05fe132d76a96aa4906e6d29d32dc0aa1b12b468be6449c600831f656f7ae9ed51b0cebaf') + +build() { + cd "$_pkgname-$pkgver" + autoreconf -vi + ./configure \ + --prefix=/usr \ + --with-dovecot=/usr/lib/dovecot + + make + + # generate systemd unit files + mkdir build + sed "s:@@prefix@@:/usr/lib:" contrib/systemd/dovecot-fts-optimize.service.in \ + > build/dovecot-fts-optimize.service + sed "s:@@index_frequency@@:daily:" contrib/systemd/dovecot-fts-optimize.timer.in \ + > build/dovecot-fts-optimize.timer +} + +package() { + cd "$_pkgname-$pkgver" + + make DESTDIR="$pkgdir" install + + # documentation + install -vDm644 -t "$pkgdir/usr/share/doc/$pkgname" README.md + + # systemd integration + install -vDm644 -t "$pkgdir/usr/lib/systemd/system" \ + build/dovecot-fts-optimize.{service,timer} +} Deleted: dovecot-fts-xapian.install =================================================================== --- dovecot-fts-xapian.install 2021-06-26 22:15:51 UTC (rev 967560) +++ dovecot-fts-xapian.install 2021-06-26 22:17:43 UTC (rev 967561) @@ -1,12 +0,0 @@ -post_install() { - cat <<-EOF - - Documentation is included in /usr/share/doc/dovecot-fts-xapian - - For more documentation, see: - * https://github.com/grosjo/fts-xapian - * https://doc.dovecot.org/configuration_manual/fts - * https://doc.dovecot.org/settings/plugin/fts-plugin - - EOF -} Copied: dovecot-fts-xapian/repos/community-x86_64/dovecot-fts-xapian.install (from rev 967560, dovecot-fts-xapian/trunk/dovecot-fts-xapian.install) =================================================================== --- dovecot-fts-xapian.install (rev 0) +++ dovecot-fts-xapian.install 2021-06-26 22:17:43 UTC (rev 967561) @@ -0,0 +1,12 @@ +post_install() { + cat <<-EOF + + Documentation is included in /usr/share/doc/dovecot-fts-xapian + + For more documentation, see: + * https://github.com/grosjo/fts-xapian + * https://doc.dovecot.org/configuration_manual/fts + * https://doc.dovecot.org/settings/plugin/fts-plugin + + EOF +}