diff options
-rw-r--r-- | community/gtk-vnc/APKBUILD | 20 |
1 files changed, 8 insertions, 12 deletions
diff --git a/community/gtk-vnc/APKBUILD b/community/gtk-vnc/APKBUILD index 3215cc1d57..497b5f790c 100644 --- a/community/gtk-vnc/APKBUILD +++ b/community/gtk-vnc/APKBUILD @@ -1,12 +1,12 @@ # Contributor: Sergei Lukin <sergej.lukin@gmail.com> # Maintainer: Natanael Copa <ncopa@alpinelinux.org> pkgname=gtk-vnc -pkgver=0.7.1 -pkgrel=1 +pkgver=0.9.0 +pkgrel=0 pkgdesc="A VNC viewer widget for GTK" url="https://wiki.gnome.org/Projects/gtk-vnc" arch="all" -license="LGPL" +license="LGPL-2.1-or-later" 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 @@ -19,9 +19,7 @@ subpackages="$pkgname-dev gvncviewer $pkgname-lang $pkgname-doc" # - CVE-2017-5884 # - CVE-2017-5885 -builddir="$srcdir/$pkgname-$pkgver" -build () { - cd "$builddir" +build() { ./configure \ --build=$CBUILD \ --host=$CHOST \ @@ -29,14 +27,12 @@ build () { --with-examples \ --enable-introspection \ --with-gtk=3.0 \ - --disable-static \ - || return 1 - make || return 1 + --disable-static + make } package() { - cd "$builddir" - make -j1 DESTDIR="$pkgdir" install || return 1 + make -j1 DESTDIR="$pkgdir" install } gvncviewer() { @@ -45,4 +41,4 @@ gvncviewer() { mv "$pkgdir"/usr/bin "$subpkgdir"/usr/ } -sha512sums="5d62f60e1c9fe70f93a9d21c529145459f0d59d588631597d533ecba94864271d1095599db9447ac4843814be61af7a7c947f69e5a9cd26db7e811f2c4e95f0c gtk-vnc-0.7.1.tar.xz" +sha512sums="498b368eb53ac58172db280c80f9da71ce82b636c39f186046e4f674e44c574ff4b63c3f777acc79d32c17d70e4efcdc207768ed49b3d1842bc4b73618296215 gtk-vnc-0.9.0.tar.xz" |