blob: 1576ba5f743b0435c2072cdde49c0c556f51879a (
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
|
# Contributor: August Klein <amatcoder@gmail.com>
# Maintainer: August Klein <amatcoder@gmail.com>
pkgname=nzbget
pkgver=16.4
pkgrel=1
pkgdesc="Usenet downloader"
url="http://nzbget.net"
arch="all"
license="GPL2"
depends=""
makedepends="libxml2-dev ncurses-dev libressl-dev"
subpackages="$pkgname-doc"
source="https://github.com/nzbget/nzbget/releases/download/v$pkgver/$pkgname-$pkgver-src.tar.gz
add_stdint.patch
"
builddir="$srcdir"/$pkgname-$pkgver
prepare() {
cd "$builddir"
update_config_sub || return 1
default_prepare || return 1
}
build() {
cd "$builddir"
./configure \
--build=$CBUILD \
--host=$CHOST \
--prefix=/usr \
--enable-parcheck \
--with-tlslib=OpenSSL \
|| return 1
make || return 1
}
package() {
cd "$builddir"
make -j1 DESTDIR="$pkgdir" install || return 1
}
md5sums="4aa0194a86f60a18d97e9ae63753983d nzbget-16.4-src.tar.gz
9efbbaf7ec3def50d48e6207aa7d505a add_stdint.patch"
sha256sums="8e9e3ee75d2d08a8e438b2809f504a627a9334ed239579a540b75fa97bff4d0f nzbget-16.4-src.tar.gz
1d004de24b185f997af64a4fb0941eee29f949e44448cfa1f9e2fef908dfaa82 add_stdint.patch"
sha512sums="12ebde277abac5f719f374861013fa391f4698d850ac57c55787609fec54490fb09437c6a803fc0ca935c482ed5ccd16c525e17ba40a514f7a54316dc04ee874 nzbget-16.4-src.tar.gz
73883086c16aabc58b3672fdf34adfa912882815d8130c1b72e5ef7c30c4e3230c03ec2d16269ae0beccae3c9b101d3054ddc54058b2dec831322e1c68cd9689 add_stdint.patch"
|