mirror of
https://github.com/moparisthebest/arch-ppa
synced 2024-08-13 15:43:47 -04:00
21 lines
808 B
Bash
21 lines
808 B
Bash
# Maintainer: Sebastian Lau <archlinux@slau.info>
|
|
# 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"
|
|
}
|