summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorOleksandr Natalenko2020-04-12 19:34:03 +0200
committerOleksandr Natalenko2020-04-12 19:34:03 +0200
commit28f128da9e9439e1c72503230c9a0f2998c94d3d (patch)
treec0d0a60c140973916783d2620f0022d21952ef5f
parent6bec25d9fc1884aafe6e849f7e4e4ce713505182 (diff)
downloadaur-28f128da9e9439e1c72503230c9a0f2998c94d3d.tar.gz
make state directory permission consistent
Signed-off-by: Oleksandr Natalenko <oleksandr@natalenko.name>
-rw-r--r--.SRCINFO2
-rw-r--r--PKGBUILD4
2 files changed, 4 insertions, 2 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 96e6152a32a..cfe7d8ccf4b 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,7 +1,7 @@
pkgbase = bandwidthd
pkgdesc = Daemon for graphing traffic of subnet machines
pkgver = 2.0.2.r1.0307fbba56
- pkgrel = 8
+ pkgrel = 9
epoch = 1
url = https://github.com/neatbasis/bandwidthd
arch = x86_64
diff --git a/PKGBUILD b/PKGBUILD
index cc78cb7a726..434eaf72368 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -5,7 +5,7 @@ _repouser=neatbasis
_reponame=bandwidthd
_rev=0307fbba56a39a6e65ebadf488ad87979c64fdef
pkgver=2.0.2.r1.${_rev:0:10}
-pkgrel=8
+pkgrel=9
epoch=1
pkgdesc="Daemon for graphing traffic of subnet machines"
arch=(x86_64)
@@ -83,6 +83,8 @@ build() {
package() {
cd "${_reponame}-${_rev}"
+ install -dm700 "${pkgdir}/var/lib/bandwidthd"
+
make DESTDIR="${pkgdir}" install
install -Dm644 "../bandwidthd.service" -t "${pkgdir}/usr/lib/systemd/system"