summaryrefslogtreecommitdiff
path: root/user/gucharmap/APKBUILD
blob: fff7df30b0dcefd783e5a0d90458d69ccb73ff95 (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
37
# Contributor: Síle Ekaterin Liszka <sheila@vulpine.house>
# Maintainer: Síle Ekaterin Liszka <sheila@vulpine.house>
pkgname=gucharmap
pkgver=15.1.5
_unicode=15.1.0
pkgrel=0
pkgdesc="Unicode utility for the Gnome desktop environment"
url="https://live.gnome.org/Gucharmap"
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 pcre2-dev 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="941157982bd2097cdb34ae36373f42f564c9b5eb94bc1334dfa277070223114f0d0e99c68a72939d27e2a997ba015da7373337b921c9b583c3c3ef9ab9f7d79c  gucharmap-15.1.5.tar.gz"