blob: aae684a892bb8e021e6240fccde74b2f61cb1ceb (
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
|
# Maintainer: Andrew O'Neill <andrew at haunted dot sh>
pkgname=simdzone
pkgver=0.1.1
pkgrel=1
pkgdesc='Fast and standards compliant DNS presentation format parser'
arch=('x86_64')
url="https://github.com/NLnetLabs/${pkgname}"
license=('BSD')
makedepends=('cmake')
source=("${pkgname}-${pkgver}.tar.gz::${url}/archive/v${pkgver}.tar.gz")
sha256sums=('5a8882d851b6b4dbbf62f30bc81d4ff7035b5682c8e17f724705c11a72040752')
build() {
cd "${pkgname}-${pkgver}"
mkdir build
cd build
cmake -DCMAKE_BUILD_TYPE=Release ..
cmake --build .
}
package() {
cd "${pkgname}-${pkgver}"
install -Dm755 build/zone-bench "${pkgdir}/usr/bin/zone-bench"
install -Dm644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
}
|