# Contributor: Bart Ribbers # Maintainer: Rasmus Thomsen pkgname=unicode-character-database pkgver=15.0.0 pkgrel=0 pkgdesc="Unicode Character Database" arch="noarch" license="Unicode-DFS-2015" url="https://www.unicode.org/" makedepends="libarchive-tools" source="UCD-$pkgver.zip::https://www.unicode.org/Public/zipped/$pkgver/UCD.zip Unihan-$pkgver.zip::https://www.unicode.org/Public/zipped/$pkgver/Unihan.zip emoji-sequences-${pkgver%.*}.txt::https://www.unicode.org/Public/emoji/${pkgver%.*}/emoji-sequences.txt emoji-zwj-sequences-${pkgver%.*}.txt::https://www.unicode.org/Public/emoji/${pkgver%.*}/emoji-zwj-sequences.txt emoji-test-${pkgver%.*}.txt::https://www.unicode.org/Public/emoji/${pkgver%.*}/emoji-test.txt " options="!check" # no tests to speak off replaces="unicode-emoji" builddir="$srcdir" package() { 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 for _f in sequences test zwj-sequences; do install -Dm644 emoji-$_f-${pkgver%.*}.txt "$pkgdir"/usr/share/unicode/emoji/emoji-$_f.txt done } sha512sums=" 442a99694fccf0d1ff6f6236bec2cff7408eef4d9dba575ba4f5dc45cebf4d2b1b30334ef8a843887a0f410b24e0f79f7f30f06a195659def998875981604a6a UCD-15.0.0.zip d9cf39adebe83ed0fd8d473cf057b8aa8b2362019d9f7ee7afc041501b1bbbe4d13050350ac40ce4a020cd1d64d52548fe262c3b2893934a032e1de8075e964c Unihan-15.0.0.zip 8081b75cee79bbeea6c01f6bfba207ea03fbc72226a093057813c65ccfbcbf5276bbbca6385527ab39ea2fa8c39f4d4c3e086889caf2eb4d49805ebee531f632 emoji-sequences-15.0.txt 84cd29d74d5e10a364e5ca495f63aa310b0741d54ae483d6dbb8d31b8397f5d55a69e66ab95e655af6bb5f9693164de6b909172ee8e96b4d276aff59977c85a4 emoji-zwj-sequences-15.0.txt 894d2036867f2a117b8e5fd59b33148b3bb88d09b022d4a09f57df7e6135c3468b9c3d0fa8c80010ace3b916190b8039ad622f04b790abb1db8697c3f2050015 emoji-test-15.0.txt "