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
13 gst-plugin-gtk libsoup3)
14 makedepends=(gobject-introspection git meson)
15 optdepends=('unoconv: OpenDocument formats')
17 _commit=515ea522250689a035d346d919e97fb6f62b0518 # tags/43.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"
43 # vim:set sw=2 sts=-1 et: