summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorDonald Webster2018-03-16 14:37:24 -0700
committerDonald Webster2018-03-16 14:41:57 -0700
commit02c8822e162c2630f95a59d2b7c0c2e0fb73f3da (patch)
treea0d76c137d7d4ff68272108fd155797e2729635b /PKGBUILD
parent1008a536603c1773088fe06b7a02422dda2a1c32 (diff)
downloadaur-02c8822e162c2630f95a59d2b7c0c2e0fb73f3da.tar.gz
Switch to systemds tmpfiles.
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD7
1 files changed, 4 insertions, 3 deletions
diff --git a/PKGBUILD b/PKGBUILD
index fe61c4c58db..05486f97549 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -2,7 +2,7 @@
pkgname=unifi-video
pkgver=3.9.4
-pkgrel=1
+pkgrel=2
pkgdesc="Centralized management system for Ubiquiti UniFi Surveillance Cameras"
arch=('x86_64')
url="https://www.ubnt.com/"
@@ -13,11 +13,13 @@ install=unifi-video.install
source=("${pkgname}-${pkgver}.deb::https://dl.ubnt.com/firmwares/ufv/v${pkgver}/${pkgname}.Ubuntu16.04_amd64.v${pkgver}.deb"
'unifi-video.service'
'unifi-video.sysusers'
+ 'unifi-video.tmpfiles'
'unifi-video.patch')
sha256sums=('c221bb2dbb24903faf36d276640eb8e3469618a75d5a45b8f55fffa5c340f1c6'
'9df948b046347c25e7c83e4837284ef63d9f8d3f28daa20a6c36e203e3ebfdb3'
'90fb2f826a70d3b7815cd6a2253c2af6754c17504be28ef92ee223bd02093730'
+ 'c31918e3ef0eb55f44639af0ae5db029654230b84d5ae0c55c18fbb2c80dfc70'
'6f52396de7f587372c66b4f269fa3ed51c9c230dc4ca1c4c83f56d8cfb714990')
package() {
@@ -31,8 +33,7 @@ package() {
install -D -m 644 "${srcdir}/unifi-video.service" "${pkgdir}/usr/lib/systemd/system/unifi-video.service"
install -D -m 644 "${srcdir}/unifi-video.sysusers" "${pkgdir}/usr/lib/sysusers.d/unifi-video.conf"
-
- mkdir -p "${pkgdir}/usr/lib/unifi-video/logs" "${pkgdir}/usr/lib/unifi-video/work"
+ install -D -m 644 "${srcdir}/unifi-video.tmpfiles" "${pkgdir}/usr/lib/tmpfiles.d/unifi-video.conf"
}
# vim:set ts=2 sw=2 et: