summaryrefslogtreecommitdiff
path: root/pcr/knot/PKGBUILD
blob: 546d3cdd853522dc104901ac065201caa0c3a24f (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
# Contributor (Arch): Otto Sabart <seberm[at]gmail[dot]com>
# Maintainer : Parabola GNU / Linux-libre Aurélien Desbrières <aurelien@cwb.io>

pkgname=knot
pkgver=1.1.0
pkgrel=1
pkgdesc="high-performance authoritative-only DNS server"
url="http://www.knot-dns.cz/setlang/?language=en"
arch=('i686' 'x86_64')
license=('GPLv3')
depends=('liburcu>=0.5.4' 'flex>=2.5.3' 'libtool' 'bison>=2.3')
optdepends=('libcap')
makedepends=('autoconf>=2.65')
conflicts=()
replaces=()
backup=()
#install='foo.install'
source=("http://public.nic.cz/files/knot-dns/${pkgname}-${pkgver}.tar.gz")

md5sums=('b2d4a53d8e98565ebb389531c2b66690')

build() {
	
	cd "${srcdir}/${pkgname}-${pkgver}"

    #autoreconf -if
    ./configure --prefix=/usr --localstatedir=/var --sysconfdir=/etc/knot

	make && make install DESTDIR="${pkgdir}" || return 1
    #ldconfig
}