# Maintainer: Yun-Chih Chen pkgname=nfcollect pkgver=0.1 pkgrel=2 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=('1b23e15c5686df985926c638068bce00970b802c') 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}" }