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')
16 _commit=515ea522250689a035d346d919e97fb6f62b0518 # tags/43.0^0
17 source=("git+https://gitlab.gnome.org/GNOME/sushi.git#commit=$_commit")
22 git describe --tags | sed 's/[^-]*-g/r&/;s/-/+/g'
30 arch-meson sushi build
31 meson compile -C build
35 meson test -C build --print-errorlogs
39 meson install -C build --destdir "$pkgdir"
42 # vim:set sw=2 sts=-1 et: