blob: 190768fc5328252bd5c20ffb5f01bad13c93a3c5 (
plain) (
blame)
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
|
# Maintainer: Yun-Chih Chen <yunchih@csie.ntu.edu.tw>
pkgname=nfcollect
pkgver=0.1
pkgrel=1
pkgdesc='Collect NFLOG log entries and commit them to stable storage in binary (compressed) format'
arch=(x86_64)
url='https://github.com/yunchih/nfcollect'
license=(MIT)
makedepends=(automake autoconf clang make)
depends=(libnetfilter_log zstd)
source=(https://github.com/yunchih/${pkgname}/releases/download/v${pkgver}/${pkgname}-${pkgver}-${pkgrel}.tar.gz)
sha1sums=('2f5b34712346a899b36e13b979cc5c283434e21d')
build() {
cd $pkgname-$pkgver
./configure --prefix=/usr
make
}
check() {
true
}
package() {
cd $pkgname-$pkgver
make DESTDIR="$pkgdir" install
install -Dm644 "service/${pkgname}.service" "${pkgdir}/usr/lib/systemd/system/${pkgname}.service"
install -Dm644 "service/default" "${pkgdir}/etc/default/${pkgname}"
}
|