aboutsummaryrefslogtreecommitdiffstats
path: root/community/gucharmap/APKBUILD
blob: dcf4df92488e411d1817016b12065e73b9612a14 (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
38
39
# Contributor: Rasmus Thomsen <oss@cogitri.dev>
# Maintainer: Rasmus Thomsen <oss@cogitri.dev>
pkgname=gucharmap
pkgver=12.0.1
pkgrel=1
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 intltool itstool glib-dev unzip desktop-file-utils
	gobject-introspection-dev unicode-character-database>=${pkgver/.*/}.0.0
	autoconf automake libtool"
subpackages="$pkgname-dev $pkgname-doc $pkgname-lang"
source="https://download.gnome.org/sources/gucharmap/${pkgver%.*}/gucharmap-$pkgver.tar.xz
	gucharmap-update_to_unicode_12.1.patch
	"

build() {
	./configure \
		--build=$CBUILD \
		--host=$CHOST \
		--prefix=/usr \
		--sysconfdir=/etc \
		--mandir=/usr/share/man \
		--localstatedir=/var \
		--with-unicode-data=/usr/share/unicode
	make
}

check() {
	make check
}

package() {
	make DESTDIR="$pkgdir" install
}

sha512sums="989034350c73c3f1857167f434aa4a5c140ef7574cb799b874e421a8d0c2bf520dfcee85bc0cf8e52f439fb7d30e0db5172a25c107c80b38ce6da4e703a3ffc2  gucharmap-12.0.1.tar.xz
afdd808eca9df2cdca8309756b5e0d73a64b9d47a75cccda0657117e0f1ef77b62d102398db8d8305be89db3c3974569aec5e3bc6083ab9936af8a950f4be248  gucharmap-update_to_unicode_12.1.patch"