summaryrefslogtreecommitdiff
path: root/user/gucharmap/APKBUILD
blob: 9a3d7bfcf30f894ba4df0ea3073a28d17c3c24b1 (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
40
# Contributor: Kiyoshi Aman <kiyoshi.aman+adelie@gmail.com>
# Maintainer: Kiyoshi Aman <kiyoshi.aman+adelie@gmail.com>
pkgname=gucharmap
pkgver=12.0.1
_unicode=12.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 intltool
	itstool libxml2-utils unicode-data"
subpackages="$pkgname-dev $pkgname-doc $pkgname-lang"
source="https://download.gnome.org/sources/gucharmap/${pkgver%.*}/gucharmap-$pkgver.tar.xz"

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

check() {
	cd "$builddir"
	make check
}

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

sha512sums="989034350c73c3f1857167f434aa4a5c140ef7574cb799b874e421a8d0c2bf520dfcee85bc0cf8e52f439fb7d30e0db5172a25c107c80b38ce6da4e703a3ffc2  gucharmap-12.0.1.tar.xz"