[arch-commits] Commit in vte3/repos (staging-x86_64 staging-x86_64/PKGBUILD)

Evangelos Foutras foutrelis at archlinux.org
Mon Apr 27 22:34:56 UTC 2020


    Date: Monday, April 27, 2020 @ 22:34:55
  Author: foutrelis
Revision: 381760

archrelease: copy trunk to staging-x86_64

Added:
  vte3/repos/staging-x86_64/
  vte3/repos/staging-x86_64/PKGBUILD
    (from rev 381759, vte3/trunk/PKGBUILD)

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

Copied: vte3/repos/staging-x86_64/PKGBUILD (from rev 381759, vte3/trunk/PKGBUILD)
===================================================================
--- staging-x86_64/PKGBUILD	                        (rev 0)
+++ staging-x86_64/PKGBUILD	2020-04-27 22:34:55 UTC (rev 381760)
@@ -0,0 +1,63 @@
+# Maintainer: Jan Alexander Steffens (heftig) <jan.steffens at gmail.com>
+# Contributor: Ionut Biru <ibiru at archlinux.org>
+
+pkgbase=vte3
+pkgname=(vte3 vte-common)
+pkgver=0.60.2
+pkgrel=2
+pkgdesc="Virtual Terminal Emulator widget"
+url="https://wiki.gnome.org/Apps/Terminal/VTE"
+arch=(x86_64)
+license=(LGPL)
+depends=(gtk3 pcre2 gnutls fribidi systemd-libs)
+makedepends=(gobject-introspection vala git gtk-doc gperf meson)
+_commit=c893450ae32b85870df3313021d9ce1fdfcbe49e  # tags/0.60.2^0
+source=("git+https://gitlab.gnome.org/GNOME/vte.git#commit=$_commit")
+sha256sums=('SKIP')
+
+pkgver() {
+  cd vte
+  git describe --tags | sed 's/-/+/g'
+}
+
+prepare() {
+  cd vte
+}
+
+build() {
+  arch-meson vte build -D docs=true -D b_lto=false
+  ninja -C build
+}
+
+check() {
+  meson test -C build --print-errorlogs
+}
+
+_pick() {
+  local p="$1" f d; shift
+  for f; do
+    d="$srcdir/$p/${f#$pkgdir/}"
+    mkdir -p "$(dirname "$d")"
+    mv "$f" "$d"
+    rmdir -p --ignore-fail-on-non-empty "$(dirname "$f")"
+  done
+}
+
+package_vte3() {
+  depends+=(vte-common)
+  provides+=(libvte-2.91.so)
+
+  DESTDIR="$pkgdir" meson install -C build
+
+### Split vte-common
+  _pick vte-common "$pkgdir"/etc/profile.d
+  _pick vte-common "$pkgdir"/usr/lib/{systemd,vte-urlencode-cwd}
+}
+
+package_vte-common() {
+  pkgdesc="Files shared by VTE libraries"
+  depends=(sh)
+  mv vte-common/* "$pkgdir"
+}
+
+# vim:set sw=2 et:



More information about the arch-commits mailing list