aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorYunchih Chen <yunchih.cat@gmail.com>2018-03-20 23:31:37 +0800
committerYunchih Chen <yunchih.cat@gmail.com>2018-03-20 23:31:37 +0800
commit4f2ee48feaf0118fb65cce43c6e6809c3ae0928c (patch)
tree6e5a3adc9b94083505e322d0632ea43dc7a1cfe1
parent8558b567f4ba87c3a10074b64a459fa48ba19844 (diff)
downloadnfcollect-4f2ee48feaf0118fb65cce43c6e6809c3ae0928c.tar
nfcollect-4f2ee48feaf0118fb65cce43c6e6809c3ae0928c.tar.gz
nfcollect-4f2ee48feaf0118fb65cce43c6e6809c3ae0928c.tar.bz2
nfcollect-4f2ee48feaf0118fb65cce43c6e6809c3ae0928c.tar.lz
nfcollect-4f2ee48feaf0118fb65cce43c6e6809c3ae0928c.tar.xz
nfcollect-4f2ee48feaf0118fb65cce43c6e6809c3ae0928c.tar.zst
nfcollect-4f2ee48feaf0118fb65cce43c6e6809c3ae0928c.zip
Minor fix on PKGBUILD and package.shv0.1
-rwxr-xr-xpackage.sh1
-rw-r--r--packaging/archlinux/PKGBUILD5
2 files changed, 4 insertions, 2 deletions
diff --git a/package.sh b/package.sh
index 1ac2795..7fe00d3 100755
--- a/package.sh
+++ b/package.sh
@@ -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}"
}