Date: Tuesday, March 13, 2018 @ 14:55:40
  Author: bpiotrowski
Revision: 318804

archrelease: copy trunk to gnome-unstable-x86_64

Added:
  vte3/repos/gnome-unstable-x86_64/
  vte3/repos/gnome-unstable-x86_64/PKGBUILD
    (from rev 318803, vte3/trunk/PKGBUILD)

----------+
 PKGBUILD |   59 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 59 insertions(+)

Copied: vte3/repos/gnome-unstable-x86_64/PKGBUILD (from rev 318803, 
vte3/trunk/PKGBUILD)
===================================================================
--- gnome-unstable-x86_64/PKGBUILD                              (rev 0)
+++ gnome-unstable-x86_64/PKGBUILD      2018-03-13 14:55:40 UTC (rev 318804)
@@ -0,0 +1,59 @@
+# $Id$
+# Contributor: Ionut Biru <ib...@archlinux.org>
+
+pkgbase=vte3
+pkgname=(vte3 vte-common)
+pkgver=0.52.0
+pkgrel=1
+pkgdesc="Virtual Terminal Emulator widget for use with GTK3"
+url="https://wiki.gnome.org/Apps/Terminal/VTE";
+arch=(x86_64)
+license=(LGPL)
+options=(!emptydirs)
+depends=(gtk3 pcre2 gnutls)
+makedepends=(intltool gobject-introspection vala glade git gtk-doc gperf)
+_commit=b4b2eb2ceeeb1625fd1f689dc2b4cceff68e4bd6  # tags/0.52.0^0
+source=("git+https://git.gnome.org/browse/vte#commit=$_commit";)
+sha256sums=('SKIP')
+
+pkgver() {
+  cd vte
+  git describe --tags | sed 's/-/+/g'
+}
+
+prepare() {
+  cd vte
+
+  # https://bugzilla.gnome.org/show_bug.cgi?id=778926
+  git cherry-pick -n 809e79770b4dea34d64574710ce429a86855fdb2
+
+  NOCONFIGURE=1 ./autogen.sh
+}
+
+build() {
+  cd vte
+
+  ./configure --prefix=/usr --sysconfdir=/etc --libexecdir=/usr/lib/vte \
+    --localstatedir=/var --disable-static --enable-introspection 
--enable-glade-catalogue --enable-gtk-doc
+
+  sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool
+
+  make
+}
+
+package_vte3(){
+  depends+=(vte-common)
+
+  cd vte
+  make DESTDIR="$pkgdir" install
+
+  rm "$pkgdir"/etc/profile.d/vte.sh
+}
+
+package_vte-common() {
+  pkgdesc="Common files used by vte and vte3"
+  depends=(sh)
+
+  cd vte
+  install -Dm644 src/vte.sh "$pkgdir"/etc/profile.d/vte.sh
+}

Reply via email to