[arch-commits] Commit in pigeonhole/repos (2 files)
Thore Bödecker
foxxx0 at gemini.archlinux.org
Sat Nov 27 15:03:48 UTC 2021
Date: Saturday, November 27, 2021 @ 15:03:48
Author: foxxx0
Revision: 1054974
archrelease: copy trunk to community-testing-x86_64
Added:
pigeonhole/repos/community-testing-x86_64/
pigeonhole/repos/community-testing-x86_64/PKGBUILD
(from rev 1054973, pigeonhole/trunk/PKGBUILD)
----------+
PKGBUILD | 70 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
1 file changed, 70 insertions(+)
Copied: pigeonhole/repos/community-testing-x86_64/PKGBUILD (from rev 1054973, pigeonhole/trunk/PKGBUILD)
===================================================================
--- community-testing-x86_64/PKGBUILD (rev 0)
+++ community-testing-x86_64/PKGBUILD 2021-11-27 15:03:48 UTC (rev 1054974)
@@ -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.17
+# Make sure to bump pkgrel if changing this.
+
+_dcmajor="$(awk -F'.' 'BEGIN{OFS=FS} NF{NF--};1' <<< "${_dcpkgver}")"
+
+pkgname=pigeonhole
+pkgver=0.5.17
+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=('031e823966c53121e289b3ecdcfa4bc35ed9d22ecbf5d93a8eb140384e78d648'
+ '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