# Maintainer: Levente Polyak # Contributor: Alexander Rødseth # Contributor: Jan de Groot # Contributor: Jan Steffens # Contributor: Remi Gacogne # ALARM: Kevin Mihelich # - explicitly link v5/v6 with libatomic pkgname=powerdns-recursor pkgver=4.0.7 pkgrel=1 pkgdesc='Resolving DNS server' url='https://www.powerdns.com/' arch=('x86_64') license=('GPL2') depends=('gcc-libs' 'boost-libs' 'libsystemd' 'lua' 'openssl' 'protobuf' 'libboost_context.so') makedepends=('boost' 'inetutils' 'systemd') provides=('pdns-recursor') conflicts=('pdns-recursor') backup=('etc/powerdns/recursor.conf') source=(https://downloads.powerdns.com/releases/pdns-recursor-${pkgver}.tar.bz2{,.asc}) sha512sums=('0c8873adcce5ed9b41f161bc71635da23496b4ae48dbffff7dcdf9c5181e720f9aa94e18bd64e0dff9fa03eae8410dc93585a74d13f0c16d38b0d1c0f4146bb2' 'SKIP') validpgpkeys=('B76CD4671C0968BAA87DE61C5E50715BF2FFE1A7' # Pieter Lexis 'FBAE0323821C7706A5CA151BDCF513FA7EED19F3' # Peter van Dijk '16E12866B7738C73976A57436FFC33439B0D04DF') # Winkels, Erik build() { cd pdns-recursor-${pkgver} [[ $CARCH == arm || $CARCH == armv6h ]] && LIBS="-latomic" LIBS=$LIBS ./configure \ --prefix=/usr \ --sbindir=/usr/bin \ --sysconfdir=/etc/powerdns \ --disable-silent-rules \ --enable-reproducible \ --enable-systemd make } package() { cd pdns-recursor-${pkgver} make DESTDIR="${pkgdir}" install mv "${pkgdir}/etc/powerdns/recursor.conf"{-dist,} } # vim: ts=2 sw=2 et: