Subject: [alpine-aports] [PATCH] main/wget: Upgrade to 1.18, move sample /etc/wgetrc to -doc subpackage

From: Valery Kartel <[email-masked]>
Date: Fri, 10 Jun 2016 15:05:52 +0300

---
 main/wget/APKBUILD | 18 +++++++++---------
 1 file changed, 9 insertions(+), 9 deletions(-)

diff --git a/main/wget/APKBUILD b/main/wget/APKBUILD
index b995584..e9d1329 100644
--- a/main/wget/APKBUILD
+++ b/main/wget/APKBUILD
@@ -1,10 +1,11 @@
+# Contributor: Valery Kartel <[email-masked]>
 # Contributor: Carlo Landmeter <[email-masked]>
 # Maintainer: Carlo Landmeter <[email-masked]>
 pkgname=wget
-pkgver=1.17.1
+pkgver=1.18
 pkgrel=0
 pkgdesc="A network utility to retrieve files from the Web"
-url="http://www.gnu.org/software/wget/wget.html"
+url="http://www.gnu.org/software/wget"
 arch="all"
 license="GPL3+"
 depends=""
@@ -41,12 +42,11 @@ build() {
 package() {
 	cd "$_builddir"
 	make DESTDIR="$pkgdir" install || return 1
-
-	rm -rf "$pkgdir"/usr/lib/charset.alias
-	rmdir -p "$pkgdir"/usr/lib 2>/dev/null
-	return 0
+	rm -rf "$pkgdir"/usr/lib
+	mkdir -p "$pkgdir"/usr/share/doc
+	mv "$pkgdir"/etc "$pkgdir"/usr/share/doc/$pkgname
 }
 
-md5sums="a6a908c9ae0e6a4194c628974cc3f05a  wget-1.17.1.tar.gz"
-sha256sums="029fbb93bdc1c0c5a7507b6076a6ec2f8d34204a85aa87e5b2f61a9405b290f5  wget-1.17.1.tar.gz"
-sha512sums="1e99f898669bdb6a330a53b40fac1fc563ad1ce9f6c7f2f25fe3f1cdd3a1a1f094e59c45a8f6497ab0c05d47cbc453ffb5fb6a5507e9a2c9ccf6cddda2aaeaf0  wget-1.17.1.tar.gz"
+md5sums="fc2debd8399e3b933a9b226794e2a886  wget-1.18.tar.gz"
+sha256sums="a00a65fab84cc46e24c53ce88c45604668a7a479276e037dc2f558e34717fb2d  wget-1.18.tar.gz"
+sha512sums="a6c31ea7161e5af1552713edc6d9e386e4d63e53660bedbc4b099c7a4c7bbbdfedb4fc8abea67158899dee82b6331c87b1f2a9cb14cbcbcfa6e19a7fdf26b0a1  wget-1.18.tar.gz"
-- 
2.8.4

---
Unsubscribe:  [email-masked]
Help:         [email-masked]
---