summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorAlexandros Michalopoulos2018-10-15 15:09:46 +0300
committerAlexandros Michalopoulos2018-10-15 15:09:46 +0300
commit96fa328b1970235db4d477133be38670d105c81e (patch)
tree4da4ac0ba62491b09a1128ac33ddfb6fffff7a41 /PKGBUILD
parent10f6071b79466e207a7d95482f05b04a0adaf1b7 (diff)
downloadaur-96fa328b1970235db4d477133be38670d105c81e.tar.gz
v=1.32.2,r=2
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD8
1 files changed, 4 insertions, 4 deletions
diff --git a/PKGBUILD b/PKGBUILD
index 44dd5fe14da6..cc611743d9d7 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