[arch-commits] Commit in gtk-vnc/trunk (PKGBUILD)

Jan Steffens heftig at archlinux.org
Thu Oct 20 08:36:46 UTC 2016


    Date: Thursday, October 20, 2016 @ 08:36:45
  Author: heftig
Revision: 279037

0.6.0+1+gf966e7b-1

Modified:
  gtk-vnc/trunk/PKGBUILD

----------+
 PKGBUILD |   26 +++++++++++++++++++-------
 1 file changed, 19 insertions(+), 7 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2016-10-20 08:28:10 UTC (rev 279036)
+++ PKGBUILD	2016-10-20 08:36:45 UTC (rev 279037)
@@ -5,7 +5,7 @@
 # Contributor: lp76 <l.peduto at gmail.com>
 
 pkgname=gtk-vnc
-pkgver=0.6.0
+pkgver=0.6.0+1+gf966e7b
 pkgrel=1
 pkgdesc="A VNC viewer widget for GTK+"
 url="https://wiki.gnome.org/Projects/gtk-vnc"
@@ -12,18 +12,30 @@
 arch=(i686 x86_64)
 license=(LGPL)
 depends=(libgcrypt gtk3 gnutls libpulse)
-makedepends=(intltool gtk-doc vala gobject-introspection)
-source=(https://download.gnome.org/sources/${pkgname}/${pkgver%.*}/${pkgname}-${pkgver}.tar.xz)
-sha256sums=('9559348805e64d130dae569fee466930175dbe150d2649bb868b5c095f130433')
+makedepends=(intltool vala gobject-introspection gnome-common git perl-text-csv)
+_commit=f966e7b4adceb305b3a66457d529f8ca6f714783  # master
+source=("git://git.gnome.org/gtk-vnc#commit=$_commit")
+sha256sums=('SKIP')
 
+pkgver() {
+  cd $pkgname
+  git describe --tags | sed 's/^v//;s/-/+/g'
+}
+
+prepare() {
+  cd $pkgname
+  NOCONFIGURE=1 ./autogen.sh
+}
+
 build() {
-  cd $pkgname-$pkgver
-  ./configure --prefix=/usr --with-examples --disable-static
+  cd $pkgname
+  ./configure --prefix=/usr --with-examples --disable-static \
+    --disable-werror
   sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool
   make
 }
 
 package() {
-  cd $pkgname-$pkgver
+  cd $pkgname
   make DESTDIR="$pkgdir" install
 }



More information about the arch-commits mailing list