Date: Tuesday, September 20, 2016 @ 14:10:44
  Author: jgc
Revision: 276763

upgpkg: vte3 0.46.0+5+g398a3f8-1

Modified:
  vte3/trunk/PKGBUILD

----------+
 PKGBUILD |   29 ++++++++++++++++++++---------
 1 file changed, 20 insertions(+), 9 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD    2016-09-20 12:38:32 UTC (rev 276762)
+++ PKGBUILD    2016-09-20 14:10:44 UTC (rev 276763)
@@ -3,7 +3,7 @@
 
 pkgbase=vte3
 pkgname=(vte3 vte-common)
-pkgver=0.44.2
+pkgver=0.46.0+5+g398a3f8
 pkgrel=1
 pkgdesc="Virtual Terminal Emulator widget for use with GTK3"
 url="https://wiki.gnome.org/Apps/Terminal/VTE";
@@ -10,16 +10,27 @@
 arch=(i686 x86_64)
 license=(LGPL)
 options=(!emptydirs)
-depends=(gtk3)
-makedepends=(intltool gobject-introspection vala glade)
-source=(http://download.gnome.org/sources/vte/${pkgver::4}/vte-$pkgver.tar.xz)
-sha256sums=('a1ea594814bb136a3a9a6c7656b46240571f6a198825c1111007fe99194b0949')
+depends=(gtk3 pcre2)
+makedepends=(intltool gobject-introspection vala glade git gtk-doc gperf)
+_commit=398a3f836019c9364f61fbe65dc468f716d8b525
+source=("git://git.gnome.org/vte#commit=$_commit")
+sha256sums=('SKIP')
 
+pkgver() {
+  cd vte
+  git describe --tags | sed 's/-/+/g'
+}
+
+prepare() {
+  cd vte
+  NOCONFIGURE=1 ./autogen.sh
+}
+
 build() {
-  cd vte-$pkgver
+  cd vte
 
   ./configure --prefix=/usr --sysconfdir=/etc --libexecdir=/usr/lib/vte \
-    --localstatedir=/var --disable-static --enable-introspection 
--enable-glade-catalogue
+    --localstatedir=/var --disable-static --enable-introspection 
--enable-glade-catalogue --enable-gtk-doc
 
   sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool
 
@@ -29,7 +40,7 @@
 package_vte3(){
   depends+=(vte-common)
 
-  cd vte-$pkgver
+  cd vte
   make DESTDIR="$pkgdir" install
 
   rm "$pkgdir"/etc/profile.d/vte.sh
@@ -39,6 +50,6 @@
   pkgdesc="Common files used by vte and vte3"
   depends=(sh)
 
-  cd vte-$pkgver
+  cd vte
   install -Dm644 src/vte.sh "$pkgdir"/etc/profile.d/vte.sh
 }

Reply via email to