2015-01-01 19:29:56 +01:00
|
|
|
# Maintainer: graysky <graysky AT archlinux DOT us>
|
|
|
|
# Contributor: Sergej Pupykin <pupykin.s+arch@gmail.com>
|
|
|
|
# Contributor: Brad Fanella <bradfanella@archlinux.us>
|
|
|
|
# Contributor: [vEX] <niechift.dot.vex.at.gmail.dot.com>
|
|
|
|
# Contributor: Zeqadious <zeqadious.at.gmail.dot.com>
|
|
|
|
# Contributor: BlackIkeEagle < ike DOT devolder AT gmail DOT com >
|
|
|
|
# Contributor: Bartłomiej Piotrowski <bpiotrowski@archlinux.org>
|
|
|
|
# Contributor: Maxime Gauduin <alucryd@gmail.com>
|
|
|
|
|
|
|
|
pkgname=kodi-standalone-service
|
2015-01-03 16:03:16 +01:00
|
|
|
pkgver=1.6
|
|
|
|
pkgrel=1
|
2015-01-01 19:29:56 +01:00
|
|
|
pkgdesc="Systemd service and user to autostart kodi at boot"
|
|
|
|
arch=('any')
|
2015-01-03 16:03:16 +01:00
|
|
|
url="https://wiki.archlinux.org/index.php/Kodi#Kodi-standalone-service"
|
2015-01-01 19:29:56 +01:00
|
|
|
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")
|
2015-01-03 16:06:37 +01:00
|
|
|
sha256sums=('ce46d0e1e858ffabccd05de0d471323f680b510e5986fdd1ea13227e98f3b226')
|
2015-01-01 19:29:56 +01:00
|
|
|
|
|
|
|
package() {
|
2015-01-03 16:06:37 +01:00
|
|
|
install -Dm644 "$srcdir/$pkgname-$pkgver/init/kodi.service" \
|
|
|
|
"$pkgdir/usr/lib/systemd/system/kodi.service"
|
2015-01-01 19:29:56 +01:00
|
|
|
install -dm 700 "$pkgdir"/var/lib/kodi
|
|
|
|
chown 420:420 "$pkgdir"/var/lib/kodi
|
|
|
|
}
|