summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorFabioLolix2020-12-12 18:20:18 +0100
committerFabioLolix2020-12-12 18:20:18 +0100
commit4ab0060bfd73dcd60977f3c532b70d03d7da8179 (patch)
tree55217a22cba03fc5881da237cd3988d9e0a96378
parent3bac4a2dba43e165cd6b1422c43371fec2e1e02f (diff)
downloadaur-4ab0060bfd73dcd60977f3c532b70d03d7da8179.tar.gz
re-add install file
-rw-r--r--.SRCINFO3
-rw-r--r--PKGBUILD3
-rw-r--r--bubbleupnpserver.install17
3 files changed, 21 insertions, 2 deletions
diff --git a/.SRCINFO b/.SRCINFO
index ac739833bbd0..3b20fce4c0ae 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,8 +1,9 @@
pkgbase = bubbleupnpserver
pkgdesc = Stream content to Android devices over the Internet, requires UPNP/DNLA backend e.g. miniDLNA, Gerbera, Mediatomb
pkgver = 0.9.38
- pkgrel = 1
+ pkgrel = 2
url = http://www.bubblesoftapps.com/bubbleupnpserver/
+ install = bubbleupnpserver.install
arch = any
license = custom:BubbleUPnP Server EULA
depends = java-runtime-headless
diff --git a/PKGBUILD b/PKGBUILD
index 59c12f9646f0..653599a91558 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -5,13 +5,14 @@
pkgname=bubbleupnpserver
pkgver=0.9.38
-pkgrel=1
+pkgrel=2
pkgdesc="Stream content to Android devices over the Internet, requires UPNP/DNLA backend e.g. miniDLNA, Gerbera, Mediatomb"
arch=(any)
url="http://www.bubblesoftapps.com/bubbleupnpserver/"
license=('custom:BubbleUPnP Server EULA')
depends=('java-runtime-headless')
optdepends=('ffmpeg: for transcoding')
+install=bubbleupnpserver.install
# http://www.bubblesoftapps.com/bubbleupnpserver2/docs/changelog.html
source=(
launch.sh
diff --git a/bubbleupnpserver.install b/bubbleupnpserver.install
new file mode 100644
index 000000000000..d68182a1fbe6
--- /dev/null
+++ b/bubbleupnpserver.install
@@ -0,0 +1,17 @@
+post_install() {
+
+ systemd-sysusers bubbleupnpserver.conf
+ chown bubbleupnp:bubbleupnp /var/lib/bubbleupnp
+ chown bubbleupnp:bubbleupnp /usr/share/bubbleupnpserver
+}
+
+post_upgrade() {
+
+ systemd-sysusers bubbleupnpserver.conf
+ chown bubbleupnp:bubbleupnp /var/lib/bubbleupnp
+ chown bubbleupnp:bubbleupnp /usr/share/bubbleupnpserver
+}
+
+post_remove() {
+
+}