# 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 # - remove makedepend on pandoc pkgname=powerdns-recursor pkgver=4.1.5 pkgrel=1 pkgdesc='Resolving DNS server' url='https://www.powerdns.com/' arch=('x86_64') license=('GPL2') depends=('gcc-libs' 'boost-libs' 'libsodium' 'libsystemd' 'lua' 'openssl' 'protobuf' 'libboost_context.so') makedepends=('boost' 'inetutils' 'ragel' '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=('90dfbafa4bc5b2ff79a0d1cfb85e79df20894f4bacb2ce439c772eab45c4a4ec799e5f183effbcc5aa37a2030ea3560a2d9f520e5a11cf201cb8f39795fa630d' '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 \ --enable-protobuf \ --enable-libsodium make } package() { cd pdns-recursor-${pkgver} make DESTDIR="${pkgdir}" install mv "${pkgdir}/etc/powerdns/recursor.conf"{-dist,} } # vim: ts=2 sw=2 et: