summaryrefslogtreecommitdiff
path: root/pcr/kodi-standalone-service/PKGBUILD
blob: f2823a3b31a293e5f808ca8bb7e8cf4a51ad1f6c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
# Maintainer (AUR): graysky <graysky AT archlinux DOT us>
# Contributor: André Silva <emulatorman@hyperbola.info>

# parabola changes and rationale:
#  no changes.

pkgname=kodi-standalone-service
pkgver=1.93
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/i686.
# You have been warned.
arch=('x86_64' 'i686')
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=('da8fa6585b60f47242f1ae4f164f1271726047f99926f8ded3d5103b11708ac4')

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: