blob: 06c5984e59bea97dc2a3ce945ff5bd712e2ebc2c (
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
47
48
49
50
51
52
53
54
|
# Maintainer: Attila Deak <plasticbomb1986@gmail.com>
# Contributor: Mateusz Galazyn <carbolymer@gmail.com>
pkgname='tdarr'
pkgver=2.27.02
pkgrel=1
pkgdesc='Transcoding application for processing media libraries. Server + Node'
arch=('x86_64')
url='https://tdarr.io/'
options=(!strip)
depends=()
optdepends=()
source=(
"https://f000.backblazeb2.com/file/tdarrs/versions/${pkgver}/linux_x64/Tdarr_Server.zip"
"https://f000.backblazeb2.com/file/tdarrs/versions/${pkgver}/linux_x64/Tdarr_Node.zip"
'tdarr-node.service'
'tdarr-server.service'
'tdarr.sysusers'
'tdarr.tmpfiles'
)
noextract=(
'Tdarr_Server.zip'
'Tdarr_Node.zip'
)
sha256sums=(
'4fb1f9fc3e62cead4d80d9b91ee6fa34fdd8870c7eb9c32b7c72e5eda4e3b6f8'
'd1fa25eb38d7547c513843525adb3f53706796e055f112ddae08b1337fe40c08'
'95e7c43861b6af12ff935063ede0287b6bb2d753299c5f26ca8e1841727dbdbb'
'cb11e62960ae73e21a13db5df0ad30d2ffff930108dc2d8e4321079a31c30d4e'
'3400d977769056ad626c065ada7fe74f3a2370b4faa090706110e7acedf70ffc'
'12cbabe6a417d17b30176c6f6916616fa86e0384ec8489e79551278808ec6376')
prepare() {
mkdir -p "${srcdir}/server" "${srcdir}/node"
unzip Tdarr_Node.zip -d "${srcdir}/node"
unzip Tdarr_Server.zip -d "${srcdir}/server"
}
package() {
install -d -m 755 "${pkgdir}/var/lib/tdarr/server"
install -d -m 755 "${pkgdir}/var/lib/tdarr/node"
cp -dpr --no-preserve=ownership "${srcdir}/server/"* "${pkgdir}/var/lib/tdarr/server"
cp -dpr --no-preserve=ownership "${srcdir}/node/"* "${pkgdir}/var/lib/tdarr/node"
install -D -m 644 "${srcdir}/tdarr.sysusers" "${pkgdir}/usr/lib/sysusers.d/tdarr.conf"
install -D -m 644 "${srcdir}/tdarr-node.service" "${pkgdir}/usr/lib/systemd/system/tdarr-node.service"
install -D -m 644 "${srcdir}/tdarr-server.service" "${pkgdir}/usr/lib/systemd/system/tdarr-server.service"
install -D -m 644 "${srcdir}/tdarr.tmpfiles" "${pkgdir}/usr/lib/tmpfiles.d/tdarr.conf"
}
|