summaryrefslogtreecommitdiff
path: root/pcr/kodi-standalone-service/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'pcr/kodi-standalone-service/PKGBUILD')
-rw-r--r--pcr/kodi-standalone-service/PKGBUILD29
1 files changed, 29 insertions, 0 deletions
diff --git a/pcr/kodi-standalone-service/PKGBUILD b/pcr/kodi-standalone-service/PKGBUILD
new file mode 100644
index 000000000..2e81d9251
--- /dev/null
+++ b/pcr/kodi-standalone-service/PKGBUILD
@@ -0,0 +1,29 @@
+# Maintainer (Arch): graysky <graysky AT archlinux DOT us>
+# Contributor (Arch): Sergej Pupykin <pupykin.s+arch@gmail.com>
+# Contributor (Arch): Brad Fanella <bradfanella@archlinux.us>
+# Contributor (Arch): [vEX] <niechift.dot.vex.at.gmail.dot.com>
+# Contributor (Arch): Zeqadious <zeqadious.at.gmail.dot.com>
+# Contributor (Arch): BlackIkeEagle < ike DOT devolder AT gmail DOT com >
+# Contributor (Arch): Bartłomiej Piotrowski <bpiotrowski@archlinux.org>
+# Contributor (Arch): Maxime Gauduin <alucryd@gmail.com>
+# Maintainer : André Silva <emulatorman@parabola.nu>
+
+pkgname=kodi-standalone-service
+pkgver=1.8
+pkgrel=1
+pkgdesc="Systemd service and user to autostart kodi at boot"
+arch=('any')
+url="https://wiki.parabola.nu/index.php/Kodi#Kodi-standalone-service"
+license=('GPL')
+depends=('systemd' 'xorg-server' 'xorg-xinit' 'kodi')
+replaces=('xbmc-standalone-service')
+install=readme.install
+source=("https://github.com/graysky2/$pkgname/archive/v$pkgver.tar.gz")
+sha256sums=('a165a66e976bb1a6ac622618887c2f9699acd84d8790af517b85a66bf5e0474c')
+
+package() {
+ install -Dm644 "$srcdir/$pkgname-$pkgver/init/kodi.service" \
+ "$pkgdir/usr/lib/systemd/system/kodi.service"
+ install -dm 700 "$pkgdir"/var/lib/kodi
+ chown 420:420 "$pkgdir"/var/lib/kodi
+}