summaryrefslogtreecommitdiff
path: root/user/unicode-data/APKBUILD
blob: a1a6d1debe95f8de5fdf0fac275d89ccc3e2f2d8 (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
# Contributor: Síle Ekaterin Liszka <sheila@vulpine.house>
# Maintainer: Síle Ekaterin Liszka <sheila@vulpine.house>
pkgname=unicode-data
pkgver=15.1.0
pkgrel=0
pkgdesc="Unicode data files"
url="https://unicode.org"
arch="noarch"
options="!check" # no testsuite
license="Unicode-TOU"
depends=""
makedepends=""
source="Blocks-$pkgver.txt::https://unicode.org/Public/$pkgver/ucd/Blocks.txt
	DerivedAge-$pkgver.txt::https://unicode.org/Public/$pkgver/ucd/DerivedAge.txt
	NamesList-$pkgver.txt::https://unicode.org/Public/$pkgver/ucd/NamesList.txt
	Scripts-$pkgver.txt::https://unicode.org/Public/$pkgver/ucd/Scripts.txt
	UnicodeData-$pkgver.txt::https://unicode.org/Public/$pkgver/ucd/UnicodeData.txt
	Unihan-$pkgver.zip::https://unicode.org/Public/$pkgver/ucd/Unihan.zip
	"

package() {
	mkdir -p "$pkgdir"/usr/share/unicode/$pkgver

	for i in Blocks DerivedAge NamesList Scripts UnicodeData; do
		install -m644 "$srcdir"/$i-$pkgver.txt "$pkgdir"/usr/share/unicode/$pkgver/$i.txt
	done
	install -m644 "$srcdir"/Unihan-$pkgver.zip "$pkgdir"/usr/share/unicode/$pkgver/Unihan.zip
}

sha512sums="39e0f655d9f744272c55a17f7525f11c156bf989c662ba62a6faa31eecefbaa01da2665da4a9d500e74a811351a97467ad43397f8d61ac5521bf1c691d11249b  Blocks-15.1.0.txt
274289df082585af82c6b5423c35699439d4cac7000a728a8402d26a3ebe4795f4574ba8ce92cf45ec4f0acb24228b45f8d5626ad96de2cb447d5806420ef3e1  DerivedAge-15.1.0.txt
83b91f9d3b30b1e03f9e23303b16a5a31c404e1c52468337e73153025cc79c5ffe7ecd104425dbb030519295ec8522ae87e68aec937c6b99e7b63cdcc4fd8f64  NamesList-15.1.0.txt
aa211fdae622d2600c5e1b76a018395ea588553e1f2809d327c0f7fd481c3b851d46affeb89b62ea8f762af792fe116c4be8afba56600687dfa82269e6a5a87c  Scripts-15.1.0.txt
e10cc48161b177428244762c641ff96200da64a91026f6a6230fbf84ada3db8e7c9db4f56bbb5118f18f862e0172bd95de6db5e77bc97453ca927c4be50ab17f  UnicodeData-15.1.0.txt
fc1a32fc68b3e1d2d358fca91c2cd6c1103557405e91ff558585f18a2e9b1ee6f8af89e7ee922ff36cade67a5cf4f5b4042ba97d350af7b92b18f161eef5ec78  Unihan-15.1.0.zip"