diff options
author | Yunchih Chen <yunchih.cat@gmail.com> | 2018-03-20 23:31:37 +0800 |
---|---|---|
committer | Yunchih Chen <yunchih.cat@gmail.com> | 2018-03-20 23:31:37 +0800 |
commit | 4f2ee48feaf0118fb65cce43c6e6809c3ae0928c (patch) | |
tree | 6e5a3adc9b94083505e322d0632ea43dc7a1cfe1 | |
parent | 8558b567f4ba87c3a10074b64a459fa48ba19844 (diff) | |
download | nfcollect-4f2ee48feaf0118fb65cce43c6e6809c3ae0928c.tar.gz nfcollect-4f2ee48feaf0118fb65cce43c6e6809c3ae0928c.tar.zst nfcollect-4f2ee48feaf0118fb65cce43c6e6809c3ae0928c.zip |
Minor fix on PKGBUILD and package.shv0.1
-rwxr-xr-x | package.sh | 1 | ||||
-rw-r--r-- | packaging/archlinux/PKGBUILD | 5 |
2 files changed, 4 insertions, 2 deletions
@@ -17,6 +17,7 @@ cp -a bin lib include \ "${PKGDIR}" tar --exclude "*.swp" \ + --exclude "*.o" \ --exclude .deps \ --exclude .dirstamp \ -zcvf "$PKG" "${PKGDIR}" diff --git a/packaging/archlinux/PKGBUILD b/packaging/archlinux/PKGBUILD index 8004927..948ec99 100644 --- a/packaging/archlinux/PKGBUILD +++ b/packaging/archlinux/PKGBUILD @@ -6,7 +6,7 @@ pkgdesc='Collect NFLOG log entries and commit them to stable storage in binary ( arch=(x86_64) url='https://github.com/yunchih/nfcollect' license=(MIT) -makedepends=(automake make) +makedepends=(automake autoconf make) depends=(libnetfilter_log zstd) source=(https://github.com/yunchih/${pkgname}/releases/download/v${pkgver}/${pkgname}-${pkgver}-${pkgrel}.tar.gz) sha1sums=('75b13cda95986cfc0c43155cdc1cd23236bad2f3') @@ -24,5 +24,6 @@ check() { package() { cd $pkgname-$pkgver make DESTDIR="$pkgdir" install - install -Dm644 "service/${pkgname}.service" "$pkgdir"/usr/lib/systemd/system/${pkgname}.service + install -Dm644 "service/${pkgname}.service" "${pkgdir}/usr/lib/systemd/system/${pkgname}.service" + install -Dm644 "service/default" "${pkgdir}/etc/default/${pkgname}" } |