blob: 8825fb4a6eb64d9f7e78590fdbb90617334f2ff8 (
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
30
31
32
33
34
35
36
37
38
39
|
# Maintainer: Sven Frenzel <aur@frenzel.dk>
pkgname="lidarr"
pkgver="0.3.0.430"
pkgrel=1
pkgdesc="Music downloader for usenet and torrents."
arch=(any)
url="https://github.com/lidarr/Lidarr"
license=("GPL3")
depends=("mono" "libmediainfo" "sqlite")
optdepends=("sabnzbd: usenet downloader"
"nzbget: usenet downloader"
"transmission-cli: torrent downloader (CLI and daemon)"
"transmission-gtk: torrent downloader (GTK+)"
"transmission-qt: torrent downloader (Qt)"
"deluge: torrent downloader"
"rtorrent: torrent downloader"
"jackett: torrent indexer proxy"
"libgdiplus: provides a gdi+ compatible api")
source=("https://github.com/lidarr/Lidarr/releases/download/v${pkgver}/Lidarr.develop.${pkgver}.linux.tar.gz"
"lidarr.service"
"lidarr.tmpfiles"
"lidarr.sysusers")
sha512sums=('65246baa48fa72d2d485169a117c8535ee225dc442fd682e9142216e01bb0c1e6dbc52f9d21fbdd23b4688facd5ac5512949ee6d4dee31b7fbfb3026544652c4'
'f910a619c850889105b1934cb4a77e6482faee9e24b4e33db1bc35957149fe3ea6f43eb8f1056555182b3af7672769ab98105b575314d35eff973fa993e62eed'
'e40ce79a3e1741e7e06312797e652a85d199bd6d719ef953ea8c3c030756ee44e202956ac9e13cff17fac38312c27398f457f79923a7d0f56bd563a69af6ab63'
'ffd466960527256d8de1d9887d90d4da87486eff062950c46cbc4fd4af1ef89e7d5c070ef1e649b23a95fbab15651e289fd5bdc6d34649e4a6ecdf2f6da06622')
package() {
install -d -m 755 "${pkgdir}/usr/lib/lidarr"
cp -dpr --no-preserve=ownership "${srcdir}/Lidarr/"* "${pkgdir}/usr/lib/lidarr"
find "${pkgdir}/usr/lib/lidarr" -type f -exec chmod 644 "{}" ";"
install -D -m 644 "${srcdir}/lidarr.service" "${pkgdir}/usr/lib/systemd/system/lidarr.service"
install -D -m 644 "${srcdir}/lidarr.sysusers" "${pkgdir}/usr/lib/sysusers.d/lidarr.conf"
install -D -m 644 "${srcdir}/lidarr.tmpfiles" "${pkgdir}/usr/lib/tmpfiles.d/lidarr.conf"
}
|