From 5854dd9741472add7bedbecabc07f13aeaa75853 Mon Sep 17 00:00:00 2001 From: Síle Ekaterin Liszka Date: Wed, 20 Mar 2024 10:42:48 -0700 Subject: user/unicode-data: use versioned filenames --- user/unicode-data/APKBUILD | 36 +++++++++++++++++------------------- 1 file changed, 17 insertions(+), 19 deletions(-) (limited to 'user') diff --git a/user/unicode-data/APKBUILD b/user/unicode-data/APKBUILD index 743cfde68..a1a6d1deb 100644 --- a/user/unicode-data/APKBUILD +++ b/user/unicode-data/APKBUILD @@ -10,28 +10,26 @@ options="!check" # no testsuite license="Unicode-TOU" depends="" makedepends="" -source="https://unicode.org/Public/$pkgver/ucd/Blocks.txt - https://unicode.org/Public/$pkgver/ucd/DerivedAge.txt - https://unicode.org/Public/$pkgver/ucd/NamesList.txt - https://unicode.org/Public/$pkgver/ucd/Scripts.txt - https://unicode.org/Public/$pkgver/ucd/UnicodeData.txt - https://unicode.org/Public/$pkgver/ucd/Unihan.zip +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 - install -m644 -t "$pkgdir"/usr/share/unicode/$pkgver \ - "$srcdir"/Blocks.txt \ - "$srcdir"/DerivedAge.txt \ - "$srcdir"/NamesList.txt \ - "$srcdir"/Scripts.txt \ - "$srcdir"/UnicodeData.txt \ - "$srcdir"/Unihan.zip + + 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.txt -274289df082585af82c6b5423c35699439d4cac7000a728a8402d26a3ebe4795f4574ba8ce92cf45ec4f0acb24228b45f8d5626ad96de2cb447d5806420ef3e1 DerivedAge.txt -83b91f9d3b30b1e03f9e23303b16a5a31c404e1c52468337e73153025cc79c5ffe7ecd104425dbb030519295ec8522ae87e68aec937c6b99e7b63cdcc4fd8f64 NamesList.txt -aa211fdae622d2600c5e1b76a018395ea588553e1f2809d327c0f7fd481c3b851d46affeb89b62ea8f762af792fe116c4be8afba56600687dfa82269e6a5a87c Scripts.txt -e10cc48161b177428244762c641ff96200da64a91026f6a6230fbf84ada3db8e7c9db4f56bbb5118f18f862e0172bd95de6db5e77bc97453ca927c4be50ab17f UnicodeData.txt -fc1a32fc68b3e1d2d358fca91c2cd6c1103557405e91ff558585f18a2e9b1ee6f8af89e7ee922ff36cade67a5cf4f5b4042ba97d350af7b92b18f161eef5ec78 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" -- cgit v1.2.3-70-g09d2