1 # Maintainer: Jan Alexander Steffens (heftig) <heftig@archlinux.org>
2 # Contributor: Jan de Groot <jgc@archlinux.org>
3 # Contributor: Tobias Kieslich <tobias@justdreams.de>
6 pkgname=(ghex ghex-docs)
9 pkgdesc="A simple binary editor for the Gnome desktop"
10 url="https://wiki.gnome.org/Apps/Ghex"
14 makedepends=(git meson yelp-tools gobject-introspection gi-docgen)
16 _commit=0ae685b879a382f46ca0f8c81870d155db4e39df # tags/42.3^0
17 source=("git+https://gitlab.gnome.org/GNOME/ghex.git#commit=$_commit")
22 git describe --tags | sed 's/[^-]*-g/r&/;s/-/+/g'
30 arch-meson ghex build -D gtk_doc=true
31 meson compile -C build
35 meson test -C build --print-errorlogs
39 provides=(libgtkhex-4.so)
42 meson install -C build --destdir "$pkgdir"
44 mkdir -p doc/usr/share
45 mv {"$pkgdir",doc}/usr/share/doc
49 pkgdesc+=" (documentation)"