1 # Maintainer: Jan Alexander Steffens (heftig) <heftig@archlinux.org>
2 # Contributor: Jan De Groot <jgc@archlinux.org>
7 pkgdesc="Gnome Unicode Charmap"
8 url="https://wiki.gnome.org/Apps/Gucharmap"
12 makedepends=(gtk-doc gobject-introspection yelp-tools appdata-tools git meson
13 unicode-character-database unzip vala)
14 provides=(libgucharmap_2_90.so)
16 _commit=c5ed6328814952e7a6e7997d02697119dc52eb90 # tags/14.0.3^0
17 source=("git+https://gitlab.gnome.org/GNOME/gucharmap.git#commit=$_commit")
22 git describe --tags | sed 's/[^-]*-g/r&/;s/-/+/g'
30 arch-meson $pkgname build -D ucd_path=/usr/share/unicode
31 meson compile -C build
35 meson test -C build --print-errorlogs
39 meson install -C build --destdir "$pkgdir"