blob: 87bac65463013ab51931d544190d1ff235aa04d9 (
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
|
# Maintainer: Mike Beaumont <mike@beaumont.dev>
# Contributor: bkuri <aur+nzbget-git@bkuri.com>
# Contributor: selfdenial <selfdenial@pm.me>
# Contributor: Nicola Hinssen <nicola.hinssen@gmail.com>
# Contributor: Jan Holthuis <holthuis.jan@googlemail.com>
pkgname=nzbget-bin
pkgver=24.5
pkgrel=1
pkgdesc="Download from Usenet using .nzb files (nzbget.com fork)"
arch=('x86_64')
url="https://github.com/nzbgetcom/nzbget"
license=('GPL')
depends=('libxml2' 'openssl')
optdepends=('python: run scripts'
'unrar: unpacking archives'
'p7zip: unpacking archives'
'par2cmdline: verificate and repair PAR 2.0 files')
provides=('nzbget' 'nzbget-systemd')
conflicts=('nzbget' 'nzbget-systemd')
install=nzbget.install
source=("nzbget-${pkgver}-amd64.deb::https://github.com/nzbgetcom/nzbget/releases/download/v${pkgver}/nzbget-${pkgver}-amd64.deb"
"nzbget.service")
sha256sums=('1df6013dbb748e73a31329c9e6d302403896175a7702da32d15964a03200a26a'
'e92d2d09e56930475c9f28641a3326a17aa187834e1bd6328a65b6ed7cc25e99')
prepare() {
mv "nzbget-${pkgver}-amd64.deb" "$pkgname-$pkgver.deb"
ar x "$pkgname-$pkgver.deb"
tar xf data.tar.xz
}
package() {
cp -r usr "$pkgdir"
install -Dm644 nzbget.service "$pkgdir/usr/lib/systemd/system/nzbget.service"
install -dm 750 "${pkgdir}/var/lib/nzbget"
}
|