1 # Contributor: Eric BĂ©langer <eric@archlinux.org>
7 pkgdesc="GNOME GUI client to view git repositories"
8 url="https://wiki.gnome.org/Apps/Gitg"
18 gobject-introspection-runtime
19 gsettings-desktop-schemas
42 _commit=1adffb6b3ce97626f2ed23885d6d0e44a2764cbe # tags/v41^0
43 source=("git+https://gitlab.gnome.org/GNOME/gitg.git#commit=$_commit")
48 git describe --tags | sed 's/^v//;s/[^-]*-g/r&/;s/-/+/g'
54 # remove illegal positional argument to i18n.merge_file()
55 git cherry-pick -n 1978973b12848741b08695ec2020bac98584d636
60 meson compile -C build
64 meson test -C build --print-errorlogs
68 meson install -C build --destdir "$pkgdir"
70 python -m compileall -d /usr/lib "$pkgdir/usr/lib"
71 python -O -m compileall -d /usr/lib "$pkgdir/usr/lib"
74 # vim:set sw=2 sts=-1 et: