Subject: [alpine-aports] [PATCH 1/1] community/gtk-vnc: upgrade to 0.6.0

From: Daniel Sabogal <[email-masked]>
Date: Fri, 19 Aug 2016 12:14:21 -0400

---
 community/gtk-vnc/APKBUILD | 23 +++++++++--------------
 1 file changed, 9 insertions(+), 14 deletions(-)

diff --git a/community/gtk-vnc/APKBUILD b/community/gtk-vnc/APKBUILD
index e565425..9240549 100644
--- a/community/gtk-vnc/APKBUILD
+++ b/community/gtk-vnc/APKBUILD
@@ -1,7 +1,7 @@
 # Maintainer: Natanael Copa <[email-masked]>
 pkgname=gtk-vnc
-pkgver=0.5.4
-pkgrel=2
+pkgver=0.6.0
+pkgrel=0
 pkgdesc="A VNC viewer widget for GTK"
 url="http://live.gnome.org/gtk-vnc"
 arch="all"
@@ -10,17 +10,12 @@ depends_dev="gtk+3.0-dev gnutls-dev glib-dev"
 makedepends="$depends_dev gettext-dev intltool expat-dev
 	libgcrypt-dev libgpg-error-dev cyrus-sasl-dev perl-text-csv
 	gobject-introspection-dev vala sed"
-source="http://ftp.gnome.org/pub/gnome/sources/$pkgname/${pkgver%.*}/$pkgname-$pkgver.tar.xz"
-
+source="https://download.gnome.org/sources/$pkgname/${pkgver%.*}/$pkgname-$pkgver.tar.xz"
 subpackages="$pkgname-dev gvncviewer $pkgname-lang $pkgname-doc"
-_builddir="$srcdir/$pkgname-$pkgver"
-
-prepare() {
-	cd "$_builddir"
-}
 
+builddir="$srcdir/$pkgname-$pkgver"
 build () {
-	cd "$_builddir"
+	cd "$builddir"
 	./configure \
 		--build=$CBUILD \
 		--host=$CHOST \
@@ -34,7 +29,7 @@ build () {
 }
 
 package() {
-	cd "$_builddir"
+	cd "$builddir"
 	make -j1 DESTDIR="$pkgdir" install || return 1
 }
 
@@ -44,6 +39,6 @@ gvncviewer() {
 	mv "$pkgdir"/usr/bin "$subpkgdir"/usr/
 }
 
-md5sums="bc7b79c4b8124294dacf91b8128a158c  gtk-vnc-0.5.4.tar.xz"
-sha256sums="488aa97a76ce6868160699cd45d4a0ee0fe6f0ad4631737c6ddd84450f6c9ce7  gtk-vnc-0.5.4.tar.xz"
-sha512sums="068f7e29d40c677c9453364e33ab3a57e155dd0715299c8dee3f9933ecdb2e3bc4aea6dd722f5bc846d9b883e4f5a6de7b46742f004b348a551100ea7720da61  gtk-vnc-0.5.4.tar.xz"
+md5sums="f27fa9284276509e8b785e4956d5334f  gtk-vnc-0.6.0.tar.xz"
+sha256sums="9559348805e64d130dae569fee466930175dbe150d2649bb868b5c095f130433  gtk-vnc-0.6.0.tar.xz"
+sha512sums="38d37753bd8c88d112c046eb8430383b073b6516c72660b3e53612986a6772b72e3e6037f61e7a3700980ab1509c1f44fbfe0b80594c8a5e5520df166212f158  gtk-vnc-0.6.0.tar.xz"
-- 
2.8.3

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