diff options
Diffstat (limited to 'testing/nzbget')
-rw-r--r-- | testing/nzbget/APKBUILD | 21 |
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" |