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

Felix Yan felixonmars at gemini.archlinux.org
Thu Apr 14 22:06:56 UTC 2022


    Date: Thursday, April 14, 2022 @ 22:06:56
  Author: felixonmars
Revision: 442599

archrelease: copy trunk to staging-x86_64

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

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

Copied: vte3/repos/staging-x86_64/PKGBUILD (from rev 442598, vte3/trunk/PKGBUILD)
===================================================================
--- staging-x86_64/PKGBUILD	                        (rev 0)
+++ staging-x86_64/PKGBUILD	2022-04-14 22:06:56 UTC (rev 442599)
@@ -0,0 +1,65 @@
+# Maintainer: Jan Alexander Steffens (heftig) <heftig at archlinux.org>
+# Contributor: Ionut Biru <ibiru at archlinux.org>
+
+pkgbase=vte3
+pkgname=(vte3 vte-common)
+pkgver=0.68.0
+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)
+makedepends=(gobject-introspection vala git gtk-doc gperf meson)
+options=(debug)
+_commit=0f438924f9f8a858b1b82434c876e31c2de180d4  # tags/0.68.0^0
+source=("git+https://gitlab.gnome.org/GNOME/vte.git#commit=$_commit")
+sha256sums=('SKIP')
+
+pkgver() {
+  cd vte
+  git describe --tags | sed 's/[^-]*-g/r&/;s/-/+/g'
+}
+
+prepare() {
+  cd vte
+}
+
+build() {
+  arch-meson vte build \
+    -D b_lto=false \
+    -D docs=true
+  meson compile -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)
+
+  meson install -C build --destdir "$pkgdir"
+
+  _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