aboutsummaryrefslogtreecommitdiffstats
path: root/testing/cldr-emoji-annotation/APKBUILD
blob: 7d4f9708e8b56b33243c950c0582badb2bc8b8e1 (plain)
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
# Contributor: Bart Ribbers <bribbers@disroot.org>
pkgname=cldr-emoji-annotation
pkgver=33.1.0_p0
_tag=${pkgver/_p/_}
pkgrel=1
pkgdesc="Emoji annotation files in CLDR"
arch="noarch"
url="https://github.com/fujiwarat/cldr-emoji-annotation"
license="Unicode-DFS-2016"
makedepends="automake autoconf"
source="$pkgname-$pkgver.tar.gz::https://github.com/fujiwarat/$pkgname/archive/$_tag.tar.gz"
builddir="$srcdir/$pkgname-$_tag"

build() {
	./autogen.sh --prefix=/usr
	make
}

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

	install -Dm644 unicode-license.txt "$pkgdir"/usr/share/licenses/$pkgname/license

	# TODO(leo): pkgconfig file has weird version so a pc: is not made
	mkdir -p "$pkgdir"/usr/lib
	mv "$pkgdir"/usr/share/pkgconfig "$pkgdir"/usr/lib
}
sha512sums="57dc2b7c8ce4b287eb83113b4d66f5359ce0e03a86477926705864d997bf87a5638dd66414b8ec4549a887cd328c9f996249269be4ca05f0d86d00393e55c513  cldr-emoji-annotation-33.1.0_p0.tar.gz"