summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorHans-Nikolai Viessmann2018-07-12 12:09:10 +0100
committerHans-Nikolai Viessmann2018-07-12 12:09:10 +0100
commit425ffcdce8a0433c7f40dcc2d2103df516acb173 (patch)
tree37e614e9c481faa1d54bb16bfed34103a987b8a7
parentc7bcea9f82348d15d964be969585fd15a63812b2 (diff)
downloadaur-425ffcdce8a0433c7f40dcc2d2103df516acb173.tar.gz
added tmpfiles conf
unfortunately for all users who upgraded, the /var/lib/... dir would have been deleted, meaning all you account information would also be gone. Sorry about that...
-rw-r--r--.SRCINFO4
-rw-r--r--PKGBUILD10
-rw-r--r--plex-media-player.tmpfiles1
3 files changed, 10 insertions, 5 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 086cc3be53f..fd289b10e44 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,7 +1,7 @@
pkgbase = plex-media-player-standalone-service
pkgdesc = Systemd service and user to run PMP in stand-alone mode
pkgver = 1.0
- pkgrel = 3
+ pkgrel = 4
url = https://github.com/hv15/plex-media-player-standalone-service
install = plex-media-player-standalone-service.install
arch = x86_64
@@ -14,9 +14,11 @@ pkgbase = plex-media-player-standalone-service
source = https://github.com/hv15/plex-media-player-standalone-service/archive/1.0.tar.gz
source = https://github.com/hv15/plex-media-player-standalone-service/releases/download/1.0/1.0.tar.gz.sig
source = plex-media-player.sysusers
+ source = plex-media-player.tmpfiles
sha256sums = a231685b9eed6ccfb0eefcf40b89b823ff8d33954c4daa2d68ed386ac73e172b
sha256sums = SKIP
sha256sums = b0fbffc7a8823b0b543dba8cb6d2ad4aa0ef3ec066753de1455f891bee32937d
+ sha256sums = 8c3a5069f2a3e2f6d3474e963e41e0e3eb934fef7211dd060d3e49fcd77a8ad8
pkgname = plex-media-player-standalone-service
diff --git a/PKGBUILD b/PKGBUILD
index bbd92e95fee..7af5eb18abd 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -2,7 +2,7 @@
pkgname=plex-media-player-standalone-service
pkgver=1.0
-pkgrel=3
+pkgrel=4
pkgdesc="Systemd service and user to run PMP in stand-alone mode"
arch=('x86_64')
url="https://github.com/hv15/plex-media-player-standalone-service"
@@ -11,11 +11,12 @@ depends=('systemd' 'xorg-server' 'xorg-xinit' 'plex-media-player' 'polkit')
install="${pkgname}.install"
source=("https://github.com/hv15/${pkgname}/archive/${pkgver}.tar.gz"
"https://github.com/hv15/${pkgname}/releases/download/${pkgver}/${pkgver}.tar.gz.sig"
- "plex-media-player.sysusers")
+ "plex-media-player."{sysusers,tmpfiles})
sha256sums=('a231685b9eed6ccfb0eefcf40b89b823ff8d33954c4daa2d68ed386ac73e172b'
'SKIP'
- 'b0fbffc7a8823b0b543dba8cb6d2ad4aa0ef3ec066753de1455f891bee32937d')
-validgpgkeys=('0x9062A1BF982A2B64')
+ 'b0fbffc7a8823b0b543dba8cb6d2ad4aa0ef3ec066753de1455f891bee32937d'
+ '8c3a5069f2a3e2f6d3474e963e41e0e3eb934fef7211dd060d3e49fcd77a8ad8')
+validgpgkeys=('0C13DFCDC33937FCF36BEF459062A1BF982A2B64')
prepare() {
# we change ther user/group of the service file to pplex.
@@ -26,4 +27,5 @@ package() {
install -Dm644 "${srcdir}/${pkgname}-${pkgver}/plexmediaplayer.service" \
"${pkgdir}/usr/lib/systemd/system/plexmediaplayer.service"
install -Dm644 "${srcdir}/plex-media-player.sysusers" "${pkgdir}/usr/lib/sysusers.d/plex-media-player.conf"
+ install -Dm644 "${srcdir}/plex-media-player.tmpfiles" "${pkgdir}/usr/lib/tmpfiles.d/plex-media-player.conf"
}
diff --git a/plex-media-player.tmpfiles b/plex-media-player.tmpfiles
new file mode 100644
index 00000000000..68e364af4be
--- /dev/null
+++ b/plex-media-player.tmpfiles
@@ -0,0 +1 @@
+d /var/lib/plexmediaplayer - pplex pplex - -