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

Felix Yan felixonmars at gemini.archlinux.org
Mon Nov 22 00:17:25 UTC 2021


    Date: Monday, November 22, 2021 @ 00:17:25
  Author: felixonmars
Revision: 428861

archrelease: copy trunk to staging-x86_64

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

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

Copied: vte3/repos/staging-x86_64/PKGBUILD (from rev 428860, vte3/trunk/PKGBUILD)
===================================================================
--- staging-x86_64/PKGBUILD	                        (rev 0)
+++ staging-x86_64/PKGBUILD	2021-11-22 00:17:25 UTC (rev 428861)
@@ -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.66.1
+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)
+_commit=29bc0a2d7fefc0e8bc5f60b72c3a666809d490f9  # tags/0.66.1^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 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"
+
+### 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