summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD13
1 files changed, 4 insertions, 9 deletions
diff --git a/PKGBUILD b/PKGBUILD
index 2a13d7a89c5..5e77ab650b5 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -2,7 +2,7 @@
pkgname=unifi-video
pkgver=3.8.5
-pkgrel=1
+pkgrel=2
pkgdesc="Centralized management system for Ubiquiti UniFi Surveillance Cameras"
arch=('x86_64')
url="https://www.ubnt.com/"
@@ -13,15 +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.patch'
- 'server.xml.patch')
+ 'unifi-video.patch')
sha256sums=('b28a9ae03b408aec00fec03c79316d1c0f8868fbde7543754dc1d7968dd60e41'
'9df948b046347c25e7c83e4837284ef63d9f8d3f28daa20a6c36e203e3ebfdb3'
'90fb2f826a70d3b7815cd6a2253c2af6754c17504be28ef92ee223bd02093730'
- '6f52396de7f587372c66b4f269fa3ed51c9c230dc4ca1c4c83f56d8cfb714990'
- '4e0d86bbbe8d836862fe5dd9f2a7a3bea9f37a375507d8a6bc2dde9f374219c5')
-
+ '6f52396de7f587372c66b4f269fa3ed51c9c230dc4ca1c4c83f56d8cfb714990')
+
package() {
tar xf "${srcdir}/data.tar.gz" -C "${pkgdir}"/
rm -r "${pkgdir}/etc"
@@ -31,9 +29,6 @@ package() {
cd "${pkgdir}/usr/bin"
patch -N < "${srcdir}/unifi-video.patch"
- cd "${pkgdir}/usr/lib/unifi-video/conf"
- patch -N < "${srcdir}/server.xml.patch"
-
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"