summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorgraysky2019-04-29 11:33:53 -0400
committergraysky2019-04-29 11:33:53 -0400
commit910b336d12ee8af1bc4069da2dc73b77eabab77c (patch)
treecea5aaf4e5c731e277a6075d64320b6d68fdf96b /PKGBUILD
parent6e240932181e21fb1e06bb312d5ac2a774905f70 (diff)
downloadaur-910b336d12ee8af1bc4069da2dc73b77eabab77c.tar.gz
Update to 1.95-1
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD24
1 files changed, 16 insertions, 8 deletions
diff --git a/PKGBUILD b/PKGBUILD
index f6e28ab5c7e..497c0ff6743 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,7 +1,8 @@
# Maintainer: graysky <graysky AT archlinux DOT us>
-pkgname=kodi-standalone-service
-pkgver=1.94
+pkgbase=kodi-standalone-service
+pkgname=(kodi-standalone-service kodi-standalone-gbm-service)
+pkgver=1.95
pkgrel=1
pkgdesc="Systemd service to run kodi in stand-alone mode without a DE"
# Do NOT attempt to use this package on Arch ARM! This is only for x86_64.
@@ -9,17 +10,24 @@ pkgdesc="Systemd service to run kodi in stand-alone mode without a DE"
arch=('x86_64')
url="https://github.com/graysky2/kodi-standalone-service"
license=('GPL')
-depends=('systemd' 'xorg-server' 'xorg-xinit' 'kodi' 'polkit')
-replaces=('xbmc-standalone-service')
install=readme.install
-source=("https://github.com/graysky2/$pkgname/archive/v$pkgver.tar.gz")
-sha256sums=('c2796a8520fbb366263f38df007e9b292a26870e71b7c166465a18e210a90a96')
+source=("https://github.com/graysky2/$pkgbase/archive/v$pkgver.tar.gz")
+sha256sums=('da49c9f1cf6dad28ca88904db1d8b676cd935781a58f7c7917523e28a5bf74c8')
-package() {
- install -Dm644 "$srcdir/$pkgname-$pkgver/init/kodi.service" \
+package_kodi-standalone-service() {
+ depends=('kodi' 'polkit' 'xorg-server' 'xorg-xinit')
+ install -Dm644 "$srcdir/$pkgbase-$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
}
+package_kodi-standalone-gbm-service() {
+ depends=('kodi-gbm' 'polkit')
+ install -Dm644 "$srcdir/$pkgbase-$pkgver/init/kodi-gbm.service" \
+ "$pkgdir/usr/lib/systemd/system/kodi-gbm.service"
+ install -dm 700 "$pkgdir"/var/lib/kodi
+ chown 420:420 "$pkgdir"/var/lib/kodi
+}
+
# vim:set ts=2 sw=2 et: