aboutsummaryrefslogtreecommitdiffstats
path: root/testing/nzbget
diff options
context:
space:
mode:
authorRoberto Oliveira <robertoguimaraes8@gmail.com>2017-08-12 02:54:06 +0000
committerSören Tempel <soeren+git@soeren-tempel.net>2017-08-22 23:35:19 +0200
commit2ba44dd8402e146b9d1a39aaddd2dbda838c0fc5 (patch)
tree3db926a8b04c6ed783c0415461e05328d0199275 /testing/nzbget
parent1e49fb2fed3a645ef6f77d40314c8aab20c8fa6a (diff)
downloadaports-2ba44dd8402e146b9d1a39aaddd2dbda838c0fc5.tar.bz2
aports-2ba44dd8402e146b9d1a39aaddd2dbda838c0fc5.tar.xz
testing/nzbget: upgrade to 19.1 and modernize
Diffstat (limited to 'testing/nzbget')
-rw-r--r--testing/nzbget/APKBUILD21
1 files changed, 10 insertions, 11 deletions
diff --git a/testing/nzbget/APKBUILD b/testing/nzbget/APKBUILD
index 59607fb861..57de8476b2 100644
--- a/testing/nzbget/APKBUILD
+++ b/testing/nzbget/APKBUILD
@@ -1,23 +1,23 @@
# Contributor: August Klein <amatcoder@gmail.com>
# Maintainer: August Klein <amatcoder@gmail.com>
pkgname=nzbget
-pkgver=18.1
+pkgver=19.1
pkgrel=0
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
- "
+source="https://github.com/$pkgname/$pkgname/releases/download/v$pkgver/$pkgname-$pkgver-src.tar.gz"
+
builddir="$srcdir"/$pkgname-$pkgver
prepare() {
+ default_prepare
+
cd "$builddir"
- update_config_sub || return 1
- default_prepare || return 1
+ update_config_sub
}
build() {
@@ -27,9 +27,8 @@ build() {
--host=$CHOST \
--prefix=/usr \
--enable-parcheck \
- --with-tlslib=OpenSSL \
- || return 1
- make || return 1
+ --with-tlslib=OpenSSL
+ make
}
check() {
@@ -39,7 +38,7 @@ check() {
package() {
cd "$builddir"
- make -j1 DESTDIR="$pkgdir" install || return 1
+ make -j1 DESTDIR="$pkgdir" install
}
-sha512sums="ef7749a024eee9639e2dbd50ab9d57996e7a95a81dd4b9b29b9fdc98a717b053ce43902e638b119d43a8826a83218ccfbd7a6bbd4ea50f3cbf4425ef06df141d nzbget-18.1-src.tar.gz"
+sha512sums="3ba7cd7f7fec28e29129be0a1ca5879a0593bc54be49e3776e84eeb7804377eec47106aa2371b31dec7d9152301d68b199ce9e66db714195defc8e15ef636532 nzbget-19.1-src.tar.gz"