aboutsummaryrefslogtreecommitdiffstats
path: root/community/gucharmap/APKBUILD
blob: 02df2a6c96a34c30ee2c37fc63803db975231999 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
# Contributor: Rasmus Thomsen <oss@cogitri.dev>
# Maintainer: Rasmus Thomsen <oss@cogitri.dev>
pkgname=gucharmap
pkgver=13.0.5
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="gtk+3.0-dev itstool glib-dev unzip desktop-file-utils
	gobject-introspection-dev unicode-character-database>=${pkgver/.*/}.0.0
	meson vala perl"
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 ${JOBS:+-j ${JOBS}} -C output
}

check() {
	meson test --no-rebuild -v -C output
}

package() {
	DESTDIR="$pkgdir" meson install --no-rebuild -C output
}

sha512sums="cb5bf266f7ff507a8c04b2c379a8b9322eb13d044d9d3934360fb4d2930232280b8505542d5657c399b8ec2d705cb3d163e4a5fbacd14e656408654d99a5efa1  gucharmap-13.0.5.tar.gz"