[arch-commits] Commit in pigeonhole/repos (2 files)

Thore Bödecker foxxx0 at archlinux.org
Sat Mar 6 14:36:25 UTC 2021


    Date: Saturday, March 6, 2021 @ 14:36:25
  Author: foxxx0
Revision: 884292

archrelease: copy trunk to community-testing-x86_64

Added:
  pigeonhole/repos/community-testing-x86_64/
  pigeonhole/repos/community-testing-x86_64/PKGBUILD
    (from rev 884291, pigeonhole/trunk/PKGBUILD)

----------+
 PKGBUILD |   70 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 70 insertions(+)

Copied: pigeonhole/repos/community-testing-x86_64/PKGBUILD (from rev 884291, pigeonhole/trunk/PKGBUILD)
===================================================================
--- community-testing-x86_64/PKGBUILD	                        (rev 0)
+++ community-testing-x86_64/PKGBUILD	2021-03-06 14:36:25 UTC (rev 884292)
@@ -0,0 +1,70 @@
+# Maintainer: Johannes Löthberg <johannes at kyriasis.com>
+# Maintainer: Thore Bödecker <foxxx0 at archlinux.org>
+# Contributor: Bartłomiej Piotrowski <bpiotrowski at archlinux.org>
+# Contributor: Andreas Radke <andyrtr at archlinux.org>
+# Contributor: Peter Lewis <plewis at aur.archlinux.org>
+# Contributor: Sebastian Köhler <sebkoehler at whoami.org.uk>
+
+# This must be built against the version of dovecot being used,
+# else mail delivery will fail.
+# Specify the version of dovecot to be used here:
+_dcpkgver=2.3.14
+# Make sure to bump pkgrel if changing this.
+
+_dcmajor="$(awk -F'.' 'BEGIN{OFS=FS} NF{NF--};1' <<< "${_dcpkgver}")"
+
+pkgname=pigeonhole
+pkgver=0.5.14
+pkgrel=1
+
+pkgdesc='Sieve implementation for Dovecot'
+url='https://pigeonhole.dovecot.org/'
+arch=('x86_64')
+license=('LGPL')
+
+depends=("dovecot=${_dcpkgver}")
+
+conflicts=('dovecot-sieve' 'pigeonhole-hg')
+
+source=("https://pigeonhole.dovecot.org/releases/2.3/dovecot-${_dcmajor}-pigeonhole-${pkgver}.tar.gz"{,.sig})
+
+sha256sums=('68ca0f78a3caa6b090a469f45c395c44cf16da8fcb3345755b1ca436c9ffb2d2'
+            'SKIP')
+validpgpkeys=(
+  '42F3CD50D4F25A41833BEE3704D62B1E3DFBB4F4' # Stephan Bosch <stephan at rename-it.nl>
+  '2BE74AAB3EE754DFB9C80D3318A348AEED409DA1'
+)
+
+
+prepare() {
+  cd "dovecot-${_dcmajor}-pigeonhole-${pkgver}"
+
+  local filename
+  for filename in "${source[@]}"; do
+    if [[ "$filename" =~ \.patch$ ]]; then
+      patch -p1 -N -l -i "$srcdir/${filename##*/}"
+    fi
+  done
+}
+
+build() {
+  cd "dovecot-${_dcmajor}-pigeonhole-${pkgver}"
+
+  ./configure \
+    --prefix=/usr \
+    --with-dovecot=/usr/lib/dovecot \
+    --with-moduledir=/usr/lib/dovecot/modules \
+    --disable-static
+  make
+}
+
+check() {
+  cd "dovecot-${_dcmajor}-pigeonhole-${pkgver}"
+  make check
+}
+
+package() {
+  cd "dovecot-${_dcmajor}-pigeonhole-${pkgver}"
+
+  make DESTDIR="$pkgdir" install
+}



More information about the arch-commits mailing list