1 # Maintainer: Jan Alexander Steffens (heftig) <heftig@archlinux.org>
2 # Contributor: Jan de Groot <jgc@archlinux.org>
3 # Contributor: Tobias Kieslich <tobias@justdreams.de>
12 pkgdesc="A simple binary editor for the Gnome desktop"
13 url="https://wiki.gnome.org/Apps/Ghex"
24 _commit=128561d95b1d5088a27d5ad4ebe7bab265437d7a # tags/44.1^0
25 source=("git+https://gitlab.gnome.org/GNOME/ghex.git#commit=$_commit")
30 git describe --tags | sed 's/[^-]*-g/r&/;s/-/+/g'
38 arch-meson ghex build -D gtk_doc=true
39 meson compile -C build
43 meson test -C build --print-errorlogs
47 provides=(libgtkhex-4.so)
50 meson install -C build --destdir "$pkgdir"
52 mkdir -p doc/usr/share
53 mv {"$pkgdir",doc}/usr/share/doc
57 pkgdesc+=" (documentation)"
63 # vim:set sw=2 sts=-1 et: