1 # Maintainer: Jan Alexander Steffens (heftig) <heftig@archlinux.org>
2 # Contributor: Ionut Biru <ibiru@archlinux.org>
4 pkgname=gnome-dictionary
7 pkgdesc="Look up words in dictionary sources"
8 url="https://wiki.gnome.org/Apps/Dictionary"
19 _commit=c37edfc2cbf91d6bae6d5264d0dcfcb5dd34b313 # tags/40.0^0
20 source=("git+https://gitlab.gnome.org/GNOME/gnome-dictionary.git#commit=$_commit")
25 git describe --tags | sed 's/[^-]*-g/r&/;s/-/+/g'
31 # Fix build with newer meson
32 git cherry-pick -n 87c026cfe4acbcfc62d15950f88a71d8d9678c7e \
33 cf3f8a67cd6f3059c555ed9cf0f5fba10abb7f68
37 arch-meson $pkgname build
38 meson compile -C build
42 meson test -C build --print-errorlogs
46 meson install -C build --destdir "$pkgdir"
49 # vim:set sw=2 sts=-1 et: