1 # Contributor: Eric BĂ©langer <eric@archlinux.org>
4 pkgver=3.32.1+r23+g33bb5d2d
7 pkgdesc="GNOME GUI client to view git repositories"
8 url="https://wiki.gnome.org/Apps/Gitg"
11 depends=(gtksourceview3 git libgit2-glib libgee webkit2gtk libpeas gtkspell3
12 python-gobject libdazzle)
13 makedepends=(gobject-introspection git meson vala)
14 _commit=33bb5d2d896fcf2fc9a2ed50b236b727c5364895 # gnome-3-32
15 source=("git+https://gitlab.gnome.org/GNOME/gitg.git#commit=$_commit")
20 git describe --tags | sed 's/^v//;s/[^-]*-g/r&/;s/-/+/g'
27 git cherry-pick -n b9f102c760adaee8185567007bcbe3b6604754f2
32 meson compile -C build
36 meson test -C build --print-errorlogs
40 meson install -C build --destdir "$pkgdir"
41 python -m compileall -d /usr/lib "$pkgdir/usr/lib"
42 python -O -m compileall -d /usr/lib "$pkgdir/usr/lib"