summaryrefslogtreecommitdiff
path: root/user/gucharmap/APKBUILD
blob: b3575c955d70d887ff02067d616734d4c4e14112 (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 <adelie@aerdan.vulpine.house>
# Maintainer: Kiyoshi Aman <adelie@aerdan.vulpine.house>
pkgname=gucharmap
pkgver=12.0.1
_unicode=12.1.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
	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/$_unicode
	make
}

check() {
	make check
}

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

sha512sums="989034350c73c3f1857167f434aa4a5c140ef7574cb799b874e421a8d0c2bf520dfcee85bc0cf8e52f439fb7d30e0db5172a25c107c80b38ce6da4e703a3ffc2  gucharmap-12.0.1.tar.xz
aac3a9b95985b1fd2122f1a759a0c571116a94cc429c4e9736a4f2a36e257241e7bdc4e6ba7badaeebca79bd8cca275ff66b6e9f933c707342b8872ab78dbe7f  unicode-12.1.patch"