blob: 493940f4739d209e55a3dc160ddbc09c7f8ac891 (
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: 0xGingi <0xgingi@0xgingi.com>
pkgname=('jellyfin-rpc-bin')
pkgver=1.3.0
pkgrel=1
pkgdesc="Displays the content you're currently watching on Discord"
arch=('x86_64')
url="https://github.com/Radiicall/jellyfin-rpc"
license=('GPL3')
depends=('glibc' 'gcc-libs')
makedepends=('git')
provides=('jellyfin-rpc')
conflicts=('jellyfin-rpc')
source=("https://github.com/Radiicall/jellyfin-rpc/releases/download/$pkgver/jellyfin-rpc-x86_64-linux"
"git+https://github.com/Radiicall/jellyfin-rpc"
"https://raw.githubusercontent.com/Radiicall/jellyfin-rpc/$pkgver/scripts/jellyfin-rpc.service")
md5sums=('SKIP'
'SKIP'
'SKIP')
install=jellyfin-rpc-bin.install
prepare() {
sed -i "s|^ExecStart=.*\$|ExecStart=/usr/lib/jellyfin-rpc/jellyfin-rpc|" jellyfin-rpc.service
}
package() {
install -Dm0755 ./jellyfin-rpc-x86_64-linux "$pkgdir/usr/lib/jellyfin-rpc/jellyfin-rpc"
install -Dm0644 jellyfin-rpc/example.json "$pkgdir/usr/lib/jellyfin-rpc/example.json"
install -Dm0644 ./jellyfin-rpc.service "$pkgdir/usr/lib/systemd/user/jellyfin-rpc.service"
}
|