diff options
-rw-r--r-- | .SRCINFO | 10 | ||||
-rw-r--r-- | PKGBUILD | 22 |
2 files changed, 19 insertions, 13 deletions
@@ -1,8 +1,8 @@ pkgbase = zmeventserver-git pkgdesc = A WSS (Secure Web Sockets) based event notification server that broadcasts new events to any authenticated listeners. - pkgver = 20171227.b6a8eca - pkgrel = 2 - url = https://github.com/pliablepixels/zmeventserver + pkgver = 20180331.f6e6a78 + pkgrel = 1 + url = https://github.com/synthead/zmeventserver/tree/support-options-from-cli-and-config-file arch = any license = GPL3 makedepends = git @@ -11,7 +11,9 @@ pkgbase = zmeventserver-git depends = perl-json depends = perl-lwp-protocol-https depends = perl-net-websocket-server - source = git+https://github.com/pliablepixels/zmeventserver.git + depends = perl-config-inifiles + backup = etc/zmeventnotification.ini + source = git+https://github.com/synthead/zmeventserver.git#branch=support-options-from-cli-and-config-file source = zmeventserver.service sha256sums = SKIP sha256sums = 24a523f42e0022792db99acdfb27c44f9951e25cd7ddcd92b82abbf60fe4d623 @@ -2,11 +2,11 @@ pkgname=zmeventserver-git _pkgname=${pkgname%%-git} -pkgver=20171227.b6a8eca -pkgrel=2 +pkgver=20180331.f6e6a78 +pkgrel=1 pkgdesc='A WSS (Secure Web Sockets) based event notification server that broadcasts new events to any authenticated listeners.' arch=(any) -url='https://github.com/pliablepixels/zmeventserver' +url='https://github.com/synthead/zmeventserver/tree/support-options-from-cli-and-config-file' license=(GPL3) depends=( perl-crypt-mysql @@ -14,16 +14,18 @@ depends=( perl-json perl-lwp-protocol-https perl-net-websocket-server + perl-config-inifiles ) makedepends=(git) source=( - git+https://github.com/pliablepixels/zmeventserver.git + 'git+https://github.com/synthead/zmeventserver.git#branch=support-options-from-cli-and-config-file' zmeventserver.service ) sha256sums=( SKIP 24a523f42e0022792db99acdfb27c44f9951e25cd7ddcd92b82abbf60fe4d623 ) +backup=('etc/zmeventnotification.ini') pkgver() { cd "${srcdir}/${_pkgname}" @@ -31,15 +33,17 @@ pkgver() { } package() { + install -dm 700 -o 33 "$pkgdir/var/lib/zmeventnotification" + install -Dm 755 \ "$srcdir/zmeventserver/zmeventnotification.pl" \ "$pkgdir/usr/bin/zmeventnotification.pl" + + install -Dm 644 \ + "$srcdir/zmeventserver/zmeventnotification.ini" \ + "$pkgdir/etc/zmeventnotification.ini" + install -Dm 644 \ "$srcdir/zmeventserver.service" \ "$pkgdir/usr/lib/systemd/system/zmeventserver.service" - - install -dm 770 -g http "$pkgdir/etc/webapps/zmeventserver" - sed -i \ - 's,/etc/\(apache2/ssl\|private\),/etc/webapps/zmeventserver,' \ - "$pkgdir/usr/bin/zmeventnotification.pl" } |