blob: bb9ba310c009bf649b0432102e89fb14df6a26ff (
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
40
41
42
43
44
45
46
|
# Maintainer: Romain Gallet <gr211 at users.noreply.github.com>
# Contributor: Romain Gallet <gr211 at users.noreply.github.com>
_packager="Romain Gallet <gr211 at users.noreply.github.com>"
pkgver=0.4
pkgname=sabnzbd-docker
pkgrel=4
pkgdesc='Convenience launch service for Sabnzd, Nzbhydra2 and Sonarr in docker'
url="https://github.com/grumlimited/sabnzbd-docker"
arch=('any')
license=('GPL-3.0-or-later')
groups=()
depends=('docker-compose')
makedepends=()
checkdepends=()
optdepends=()
provides=()
backup=()
options=()
install=sabnzbd-docker.install
source=("file://sabnzbd-docker.service"
"file://sabnzbd-docker-update.timer"
"file://sabnzbd-docker-update.service"
"file://docker-compose.yaml"
"file://default.env"
"file://docker.env")
md5sums=('09d427d3b1de5bb5d14d674d18b778df'
'c0abd821b7fa46bf65aacb53802d8f75'
'd263106fb3ae8cf5595e870fdc8907c6'
'86c471c654c795796dbef4f8f2f4bb8f'
'55a3e51b6074df2959798d99b60e38b4'
'6af9cc13d7ddf3b2721208ef4bdc156f')
noextract=()
package() {
dest=${pkgdir}/opt/docker-sabnzbd
mkdir -p ${dest}
cp docker-compose.yaml ${dest}
cp default.env ${dest} # for Unit service
cp docker.env ${dest}/.env # for docker-compose
dest=${pkgdir}/usr/lib/systemd/user/
mkdir -p ${dest}
cp sabnzbd-docker.service ${dest}
cp sabnzbd-docker-update.service ${dest}
cp sabnzbd-docker-update.timer ${dest}
}
|