1 # Maintainer: Jan Alexander Steffens (heftig) <heftig@archlinux.org>
2 # Contributor: Ionut Biru <ibiru@archlinux.org>
5 pkgname=(vte3 vte-common)
8 pkgdesc="Virtual Terminal Emulator widget"
9 url="https://wiki.gnome.org/Apps/Terminal/VTE"
12 depends=(gtk3 pcre2 gnutls fribidi systemd)
13 makedepends=(gobject-introspection vala git gtk-doc gperf meson)
15 _commit=0f438924f9f8a858b1b82434c876e31c2de180d4 # tags/0.68.0^0
16 source=("git+https://gitlab.gnome.org/GNOME/vte.git#commit=$_commit")
21 git describe --tags | sed 's/[^-]*-g/r&/;s/-/+/g'
29 arch-meson vte build \
32 meson compile -C build
36 meson test -C build --print-errorlogs
40 local p="$1" f d; shift
42 d="$srcdir/$p/${f#$pkgdir/}"
43 mkdir -p "$(dirname "$d")"
45 rmdir -p --ignore-fail-on-non-empty "$(dirname "$f")"
51 provides+=(libvte-2.91.so)
53 meson install -C build --destdir "$pkgdir"
55 _pick vte-common "$pkgdir"/etc/profile.d
56 _pick vte-common "$pkgdir"/usr/lib/{systemd,vte-urlencode-cwd}
59 package_vte-common() {
60 pkgdesc="Files shared by VTE libraries"
62 mv vte-common/* "$pkgdir"