# Contributor: August Klein # Maintainer: August Klein pkgname=ghex pkgver=44.1 _pkgver=${pkgver%.*} pkgrel=0 pkgdesc="A hex editor for GNOME" url="https://wiki.gnome.org/Apps/Ghex" arch="all !s390x !riscv64" # gtk4.0 license="GPL-2.0-or-later" depends="dconf" makedepends=" at-spi2-core-dev desktop-file-utils glib-dev gtk4.0-dev itstool libadwaita-dev meson " subpackages="$pkgname-dev $pkgname-lang $pkgname-doc" source="https://download.gnome.org/sources/ghex/$_pkgver/ghex-$pkgver.tar.xz" build() { abuild-meson -Db_lto=true . output meson compile -C output } check() { meson test --no-rebuild --print-errorlogs -C output } package() { DESTDIR="$pkgdir" meson install --no-rebuild -C output } sha512sums=" 4239af382ed3bce0a932db875b1ccc8e1666cfc2827cd13b65afc8310de9107e3f106553dbde4c2663aaf6f0bbc906c51d9f8b61d9af661baf6cbb6b6e2be675 ghex-44.1.tar.xz "