summaryrefslogtreecommitdiff
path: root/pcr/xbmc-standalone-service/PKGBUILD
diff options
context:
space:
mode:
authorAndré Fabian Silva Delgado <emulatorman@parabola.nu>2014-08-10 18:13:51 -0300
committerAndré Fabian Silva Delgado <emulatorman@parabola.nu>2014-08-10 18:13:51 -0300
commit48ff6456b73a722ac6d5bd84e7e678646c9ac409 (patch)
treef51226506cbc82ade351a52b57dee517544d4075 /pcr/xbmc-standalone-service/PKGBUILD
parentb8bf5a11ddcb3d3ba3df302c2f5ca635db8fc3f2 (diff)
downloadabslibre-48ff6456b73a722ac6d5bd84e7e678646c9ac409.tar.gz
abslibre-48ff6456b73a722ac6d5bd84e7e678646c9ac409.tar.bz2
abslibre-48ff6456b73a722ac6d5bd84e7e678646c9ac409.zip
xbmc-standalone-service: add new package to [pcr]
Diffstat (limited to 'pcr/xbmc-standalone-service/PKGBUILD')
-rw-r--r--pcr/xbmc-standalone-service/PKGBUILD28
1 files changed, 28 insertions, 0 deletions
diff --git a/pcr/xbmc-standalone-service/PKGBUILD b/pcr/xbmc-standalone-service/PKGBUILD
new file mode 100644
index 000000000..e0bb7537a
--- /dev/null
+++ b/pcr/xbmc-standalone-service/PKGBUILD
@@ -0,0 +1,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
+}