aboutsummaryrefslogtreecommitdiffstats
path: root/community/gucharmap/APKBUILD
blob: a90af44c0622922d655adb1b1a111c37d379cbdb (plain)
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
34
35
36
37
38
39
40
41
42
43
44
45
# Contributor: Rasmus Thomsen <oss@cogitri.dev>
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=gucharmap
pkgver=15.1.3
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="
e07ee839b9635de7296ab40f6524a4e2d66203266ea39726e7fa1e917e75672a6e9497ba331ac184306ac43081fbacd2872aad442005718a71bff2723ba9f4ff  gucharmap-15.1.3.tar.gz
"