arch-ppa/src/kodi-standalone-service/PKGBUILD

26 lines
875 B
Bash
Raw Normal View History

2018-12-28 02:33:44 -05:00
# Maintainer: graysky <graysky AT archlinux DOT us>
pkgname=kodi-standalone-service
pkgver=1.94
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.
# You have been warned.
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')
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
}
# vim:set ts=2 sw=2 et: