summaryrefslogtreecommitdiff
path: root/PKGBUILD
blob: 1c53a49325771ecf77f33fa5700ac186fc15f5fe (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
# Maintainer: Erich Eckner <arch at eckner dot net>
pkgname=zdkimfilter
pkgver=3.21
pkgrel=2
pkgdesc="zDKIM filter for Courier-MTA using the OpenDKIM Project's library."
arch=('i686' 'pentium4' 'x86_64')
url='https://www.tana.it/sw/zdkimfilter/'
license=('GPL3')
_pinned_dependencies=(
  'glibc>=2.40+r16+gaa533d58ff'
  'libidn2=2.3.7'
  'libunistring=1.2'
  'opendbx=1.4.6'
  'openssl=3.4.0'
  'util-linux-libs=2.40.2'
  'zlib=1:1.3.1'
)
depends=(
  'courier-mta'
  'opendkim'
  "${_pinned_dependencies[@]}"
)
backup=('etc/courier/filters/zdkimfilter.conf')
source=(
  "http://www.tana.it/sw/${pkgname}/${pkgname}-${pkgver}.tar.gz"{,.asc}
)
sha512sums=('aadc9f367cf1aea7db35d9af2b09e71f6b6256002f842b0ae6ee6bfbb335d5b685dd7a2b32b7825b2a8659788b8c86ba256aac4c557ab2288c0fe6efa9702566'
            'SKIP')
validpgpkeys=('0A5B4BB141A53F7F55FC8CBCB6ACF44490D17C00')
options=('debug' '!strip')

build() {

  cd ${pkgname}-${pkgver}
  ./configure --prefix=/usr --with-courier-version=60 --with-openssl --without-gnutls
  make

}

package() {

  cd ${pkgname}-${pkgver}
  make DESTDIR=${pkgdir} install
  mv "${pkgdir}/etc/courier/filters/zdkimfilter.conf"{.dist,}

}