aboutsummaryrefslogtreecommitdiffstats
path: root/testing/unicode-character-database/APKBUILD
blob: 23fcdcbf502be971deee08677450e3f5d0bd97a5 (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
# Contributor: Bart Ribbers <bribbers@disroot.org>
pkgname=unicode-character-database
pkgver=11.0.0
pkgrel=0
pkgdesc="Unicode Character Database"
arch="noarch"
license="BSD"
url="http://www.unicode.org/"
makedepends="libarchive-tools"
source="UCD-$pkgver.zip::http://www.unicode.org/Public/zipped/$pkgver/UCD.zip
	Unihan-$pkgver.zip::http://www.unicode.org/Public/zipped/$pkgver/Unihan.zip"
noextract={UCD,Unihan}-$pkgver.zip
options="!check"
builddir="$srcdir"

package() {
	cd "$srcdir"
	for _f in UCD Unihan; do
		install -Dm644 $_f-$pkgver.zip "$pkgdir/usr/share/unicode/$_f.zip"
		bsdtar -C "$pkgdir/usr/share/unicode" -x --no-same-owner --no-same-permissions -f $_f-$pkgver.zip
	done
}
sha512sums="954a499ff072727c8778e711fb1753834adf09277c9e9a2592c02b59971860f9a407c7e9985ed1e6bdda7a3cf3b1cd6316599c4bffe8b0625413f874486830c1  UCD-11.0.0.zip
a045e79545f1ec3529a8556d41c73b20809979e002f98314068c6f91daa79abb2ab3ab383090651b55fb55e343d8fcf67bea822d93d6e3221a206d58ef9e3a7b  Unihan-11.0.0.zip"