# Contributor: Rasmus Thomsen # Maintainer: Rasmus Thomsen pkgname=gucharmap pkgver=15.0.4 pkgrel=0 pkgdesc="GNOME Unicode Charmap" url="https://wiki.gnome.org/Apps/Gucharmap" arch="all" license="GPL-3.0-or-later GFDL-1.3-only" makedepends=" desktop-file-utils glib-dev gobject-introspection-dev gtk+3.0-dev itstool meson pcre2-dev perl unicode-character-database>=${pkgver/.*/}.0.0 unzip vala " subpackages="$pkgname-dev $pkgname-lang" source="https://gitlab.gnome.org/GNOME/gucharmap/-/archive/$pkgver/gucharmap-$pkgver.tar.gz" build() { # Disable docs due to https://github.com/mesonbuild/meson/issues/5843 abuild-meson \ -Ducd_path=/usr/share/unicode \ -Ddocs=false \ output meson compile -C output } check() { meson test --no-rebuild --print-errorlogs -C output } package() { DESTDIR="$pkgdir" meson install --no-rebuild -C output } sha512sums=" 75832485b8247a9c318262d9b50fa61055910c525c980fad6392c5b2585d1da0828ed339187e20fad2d82550d2d34b1c7532125c66c94e7b9f244c244293bab3 gucharmap-15.0.4.tar.gz "