diff --git a/src/kodi-standalone-socket-activation/.SRCINFO b/src/kodi-standalone-socket-activation/.SRCINFO new file mode 100644 index 0000000..67f23e9 --- /dev/null +++ b/src/kodi-standalone-socket-activation/.SRCINFO @@ -0,0 +1,16 @@ +# Generated by mksrcinfo v8 +# Sat Dec 12 17:07:43 UTC 2015 +pkgbase = kodi-standalone-socket-activation + pkgdesc = Service files to activate kodi when the user starts a remote control app or connects to Kodi's html control port. + pkgver = 1.0 + pkgrel = 1 + url = https://wiki.archlinux.org/index.php/Kodi#Socket_activation + arch = any + license = GPL + depends = systemd + depends = kodi + source = kodi-standalone-socket-activation-v1.0.tar.gz::https://github.com/nullptrT/kodi-standalone-socket-activation/archive/1.0.tar.gz + sha256sums = 27dd5f78af24bca54069605caa592b16198f0dddfa77e9efe88108508a0983e0 + +pkgname = kodi-standalone-socket-activation + diff --git a/src/kodi-standalone-socket-activation/PKGBUILD b/src/kodi-standalone-socket-activation/PKGBUILD new file mode 100644 index 0000000..cde3789 --- /dev/null +++ b/src/kodi-standalone-socket-activation/PKGBUILD @@ -0,0 +1,20 @@ +# Maintainer: Sebastian Lau +# Contributor: TBA + +pkgname=kodi-standalone-socket-activation +pkgver=1.0 +pkgrel=1 +pkgdesc="Service files to activate kodi when the user starts a remote control app or connects to Kodi's html control port." +arch=('any') +url="https://wiki.archlinux.org/index.php/Kodi#Socket_activation" +license=('GPL') +depends=('systemd' 'kodi') +source=("$pkgname-v$pkgver.tar.gz::https://github.com/nullptrT/$pkgname/archive/$pkgver.tar.gz") +sha256sums=('27dd5f78af24bca54069605caa592b16198f0dddfa77e9efe88108508a0983e0') + +package() { + install -Dm644 "$srcdir/$pkgname-$pkgver/init/kodi@.service" \ + "$pkgdir/usr/lib/systemd/system/kodi@.service" + install -Dm644 "$srcdir/$pkgname-$pkgver/init/kodi@.socket" \ + "$pkgdir/usr/lib/systemd/system/kodi@.socket" +}