1 # Maintainer: Jan Alexander Steffens (heftig) <heftig@archlinux.org>
2 # Contributor: Ionut Biru <ibiru@archlinux.org>
7 pkgdesc="A quick previewer for Nautilus"
8 url="https://gitlab.gnome.org/GNOME/sushi"
12 depends=(gtk3 gjs webkit2gtk-4.1 gtksourceview4 evince gst-plugins-base-libs
14 makedepends=(gobject-introspection git meson)
15 optdepends=('unoconv: OpenDocument formats')
17 _commit=8f0191433175a90272e8e1f9a6518e7520be8470 # tags/42.0^0
18 source=("git+https://gitlab.gnome.org/GNOME/sushi.git#commit=$_commit")
23 git describe --tags | sed 's/[^-]*-g/r&/;s/-/+/g'
31 arch-meson sushi build
32 meson compile -C build
36 meson test -C build --print-errorlogs
40 meson install -C build --destdir "$pkgdir"