summarylogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.SRCINFO2
-rw-r--r--PKGBUILD8
-rw-r--r--zoneminder.install1
3 files changed, 5 insertions, 6 deletions
diff --git a/.SRCINFO b/.SRCINFO
index b78855bb9d9..074b34fcb25 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,7 +1,7 @@
pkgbase = zoneminder
pkgdesc = A full-featured, open source, state-of-the-art video surveillance software system
pkgver = 1.32.2
- pkgrel = 1
+ pkgrel = 2
url = https://zoneminder.com/
install = zoneminder.install
arch = x86_64
diff --git a/PKGBUILD b/PKGBUILD
index 44dd5fe14da..cc611743d9d 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -38,7 +38,7 @@
pkgname=zoneminder
pkgver=1.32.2
-pkgrel=1
+pkgrel=2
pkgdesc='A full-featured, open source, state-of-the-art video surveillance software system'
arch=('x86_64')
url='https://zoneminder.com/'
@@ -98,9 +98,6 @@ prepare () {
# Fix the launcher
sed -i 's|localhost/zm|localhost:8095|g' misc/$pkgname.desktop.in
-
- # Temporary fix for Montage Review
- sed -i 's|/zm/index.php|/index.php|g' web/skins/classic/views/js/montagereview.js
}
build() {
@@ -145,6 +142,9 @@ package() {
# Link ZM_WEBDIR/api/app/tmp to ZM_TMPDIR
ln -sf /var/tmp/$pkgname $pkgdir/srv/$pkgname/www/api/app/tmp
+ # Temporary fix for hardcoded /zm/ links (credit goes to @Kubax on AUR)
+ ln -sf /srv/$pkgname/www $pkgdir/srv/$pkgname/www/zm
+
# Set correct permissions for ZM_CONFIG_DIR & ZM_CONFIG_SUBDIR
chmod -R 755 $pkgdir/etc/$pkgname
chmod 644 $pkgdir/etc/$pkgname/zm.conf
diff --git a/zoneminder.install b/zoneminder.install
index a1c83c9eaef..53d1478c82b 100644
--- a/zoneminder.install
+++ b/zoneminder.install
@@ -176,7 +176,6 @@ post_upgrade() {
systemctl start zoneminder
- echo
echo Update complete.
echo
}