blob: 2ad01b6ef58bb48c2a5682e7466ac83f05c5b156 (
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: Tomas Krizek <tomas.krizek@nic.cz>
pkgname=dnsjit-git
pkgver=v0.9.8.r264.1a1bf18
pkgrel=1
pkgdesc="Engine for capturing, parsing and replaying DNS"
arch=('x86_64')
url="https://github.com/DNS-OARC/dnsjit"
license=('GPL3')
depends=(
'luajit'
'libpcap'
'lmdb'
'gnutls'
'libck'
'libuv'
)
makedepends=(
'autoconf'
'git'
)
provides=("${pkgname%-git}")
conflicts=("${pkgname%-git}")
source=("${pkgname}::git+https://github.com/DNS-OARC/${pkgname%-git}.git")
sha256sums=('SKIP')
pkgver() {
cd "${srcdir}/${pkgname%-git}"
printf "%s" "$(git describe --long | sed 's/\([^-]*-\)g/r\1/;s/-/./g')"
}
build() {
cd "${srcdir}/${pkgname%-git}"
./autogen.sh
./configure --prefix=/usr
make
}
check() {
cd "${srcdir}/${pkgname%-git}"
make -k check
}
package() {
cd "${srcdir}/${pkgname%-git}"
make DESTDIR="${pkgdir}/" install
}
|