summaryrefslogtreecommitdiff
path: root/pcr/xbmc-standalone-service/PKGBUILD
blob: e0bb7537a8ba8f012755bc8acf8316409be6ffc9 (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
# 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=xbmc-standalone-service
pkgver=1.0
pkgrel=4
pkgdesc="Systemd service and user to autostart xbmc at boot"
arch=('any')
url="https://wiki.parabolagnulinux.org/index.php/Xbmc#Autostarting_at_boot"
license=('GPL')
depends=('xbmc' 'systemd' 'xorg-xinit')
install=readme.install
source=(xbmc.service)
sha256sums=('1a94a7952ef99cd3dd6f4b921630563f72a3b907265e91e0a37b07339081558c')

package() {
	install -Dm0644 "$srcdir/xbmc.service" "$pkgdir/usr/lib/systemd/system/xbmc.service"

	install -dm 700 "${pkgdir}"/var/lib/xbmc
	chown 420:420 "${pkgdir}"/var/lib/xbmc
}