summaryrefslogtreecommitdiff
path: root/user/gucharmap/APKBUILD
blob: 4b8b298d6d0f707059d03590d42a26f848c44753 (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
34
35
36
# Contributor: Kiyoshi Aman <adelie@aerdan.vulpine.house>
# Maintainer: Kiyoshi Aman <adelie@aerdan.vulpine.house>
pkgname=gucharmap
pkgver=13.0.3
_unicode=13.0.0
pkgrel=0
pkgdesc="Unicode utility for the Gnome desktop environment"
url="https://gnome.org"
arch="all"
license="GPL-3.0+"
depends=""
makedepends="desktop-file-utils gobject-introspection-dev gtk+3.0-dev gtk-doc
	intltool itstool libxml2-utils meson ninja perl unicode-data vala"
subpackages="$pkgname-dev $pkgname-doc $pkgname-lang"
source="https://gitlab.gnome.org/GNOME/gucharmap/-/archive/$pkgver/gucharmap-$pkgver.tar.gz"

build() {
	meson \
		--prefix=/usr \
		--sysconfdir=/etc \
		--mandir=/usr/share/man \
		--localstatedir=/var \
		-Ducd_path=/usr/share/unicode/$_unicode \
		. output
	ninja -C output
}

check() {
	ninja -C output test
}

package() {
	DESTDIR="$pkgdir" ninja -C output install
}

sha512sums="c4329f12cb879273f8c52f6517276b05abc9420150dd71474a5a2fec2340e56c3915cc0c5aae479087c987d954354f4c3334664a539c33b35c9a0f2bed11972f  gucharmap-13.0.3.tar.gz"