diff options
author | AmatCoder <amatcoder@gmail.com> | 2016-05-28 09:09:54 +0000 |
---|---|---|
committer | Jakub Jirutka <jakub@jirutka.cz> | 2016-06-01 22:58:25 +0200 |
commit | ba29897fd808431874f6474424aba0190d8ac639 (patch) | |
tree | b4b991a58ff9591c9cf62799af75f335aeaa09d9 /testing/nzbget | |
parent | 8ce1f65d8c9c020d00330a33dc587d0d7fac2527 (diff) | |
download | aports-ba29897fd808431874f6474424aba0190d8ac639.tar.bz2 aports-ba29897fd808431874f6474424aba0190d8ac639.tar.xz |
testing/nzbget: upgrade to 16.4
Diffstat (limited to 'testing/nzbget')
-rw-r--r-- | testing/nzbget/APKBUILD | 40 | ||||
-rw-r--r-- | testing/nzbget/add_stdint.patch | 2 |
2 files changed, 18 insertions, 24 deletions
diff --git a/testing/nzbget/APKBUILD b/testing/nzbget/APKBUILD index c39ae6f58f..3b24634f3f 100644 --- a/testing/nzbget/APKBUILD +++ b/testing/nzbget/APKBUILD @@ -1,34 +1,28 @@ # Contributor: August Klein <amatcoder@gmail.com> # Maintainer: August Klein <amatcoder@gmail.com> pkgname=nzbget -pkgver=15.0 +pkgver=16.4 pkgrel=0 pkgdesc="Usenet downloader" url="http://nzbget.net" arch="all" license="GPL2" depends="" -depends_dev="libxml2-dev ncurses-dev openssl-dev" -makedepends="$depends_dev" -install="" +makedepends="libxml2-dev ncurses-dev openssl-dev" subpackages="$pkgname-doc" -source="http://sourceforge.net/projects/$pkgname/files/$pkgname-$pkgver.tar.gz - add_stdint.patch" +source="https://github.com/nzbget/nzbget/releases/download/v$pkgver/$pkgname-$pkgver-src.tar.gz + add_stdint.patch + " +builddir="$srcdir"/$pkgname-$pkgver -_builddir="$srcdir"/$pkgname-$pkgver prepare() { - local i - cd "$_builddir" - for i in $source; do - case $i in - *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;; - esac - done - update_config_sub + cd "$builddir" + update_config_sub || return 1 + default_prepare || return 1 } build() { - cd "$_builddir" + cd "$builddir" ./configure \ --build=$CBUILD \ --host=$CHOST \ @@ -40,13 +34,13 @@ build() { } package() { - cd "$_builddir" + cd "$builddir" make -j1 DESTDIR="$pkgdir" install || return 1 } -md5sums="452a549eef67504b6af2598fbbcd93d3 nzbget-15.0.tar.gz -0315a4ac71d7dc49a74a7a7c8422420e add_stdint.patch" -sha256sums="3ef13f3e5917e4cda19c4fc0cd37e79967a19b4e3448c239ff24e37712a6cc0a nzbget-15.0.tar.gz -2d2aa4f1a9da3ae9c4fc0ef70dbbd15815d3bdfff865e444c4ca79d6697e3504 add_stdint.patch" -sha512sums="7233bea56f99e541155eac3e1d31f2603a407aee7055492c2bf20efc9b40a58e9e5f3b7ee7dada9278cb4bdc8b30a0e62f377235e12ac43c88f9111864d3a706 nzbget-15.0.tar.gz -a96d63744a549ee287ce284c4b7136259705168fdfcbd82171c288b71479a185856d885946b7ff76ea36a049619ec1e572b28143fdc728ca359895eab679621d add_stdint.patch" +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" diff --git a/testing/nzbget/add_stdint.patch b/testing/nzbget/add_stdint.patch index 4422484bc6..b27307b8eb 100644 --- a/testing/nzbget/add_stdint.patch +++ b/testing/nzbget/add_stdint.patch @@ -1,6 +1,6 @@ --- a/daemon/remote/MessageBase.h +++ b/daemon/remote/MessageBase.h -@@ -27,6 +27,8 @@ +@@ -22,6 +22,8 @@ #ifndef MESSAGEBASE_H #define MESSAGEBASE_H |