[arch-commits] Commit in unicode-cldr/repos/community-any (PKGBUILD PKGBUILD)

Felix Yan felixonmars at archlinux.org
Mon Jan 18 16:47:31 UTC 2021


    Date: Monday, January 18, 2021 @ 16:47:31
  Author: felixonmars
Revision: 823527

archrelease: copy trunk to community-any

Added:
  unicode-cldr/repos/community-any/PKGBUILD
    (from rev 823526, unicode-cldr/trunk/PKGBUILD)
Deleted:
  unicode-cldr/repos/community-any/PKGBUILD

----------+
 PKGBUILD |   54 +++++++++++++++++++++++++++++++++---------------------
 1 file changed, 33 insertions(+), 21 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2021-01-18 16:47:20 UTC (rev 823526)
+++ PKGBUILD	2021-01-18 16:47:31 UTC (rev 823527)
@@ -1,21 +0,0 @@
-# Maintainer: Felix Yan <felixonmars at archlinux.org>
-
-pkgname=unicode-cldr
-pkgver=38.0
-pkgrel=1
-pkgdesc="Emoji annotation files in CLDR"
-arch=('any')
-url="https://github.com/fujiwarat/unicode-cldr"
-license=('custom')
-provides=('cldr-emoji-annotation')
-conflicts=('cldr-emoji-annotation')
-replaces=('cldr-emoji-annotation')
-source=("https://unicode.org/Public/cldr/${pkgver%.*}/cldr-common-$pkgver.zip")
-sha512sums=('76a2cdfbe74bd25825dd0a91f81d3651d6baab374b7cffd2346d9194b30d2bf16940e448ede5b1c5f470ad2ff7df082a957ec6eade336b9baaafd40870648b1e')
-
-package() {
-  install -dm755 "$pkgdir"/usr/share/unicode/cldr
-  cp -r common "$pkgdir"/usr/share/unicode/cldr/
-
-  install -Dm644 unicode-license.txt "$pkgdir"/usr/share/licenses/$pkgname/unicode-license.txt
-}

Copied: unicode-cldr/repos/community-any/PKGBUILD (from rev 823526, unicode-cldr/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2021-01-18 16:47:31 UTC (rev 823527)
@@ -0,0 +1,33 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+shopt -s extglob
+
+pkgbase=unicode-cldr
+pkgname=(unicode-cldr unicode-cldr-annotations)
+pkgver=38.0
+pkgrel=2
+pkgdesc="Unicode Common Locale Data Repository"
+arch=('any')
+url="http://cldr.unicode.org/"
+license=('custom')
+source=("https://unicode.org/Public/cldr/${pkgver%.*}/cldr-common-$pkgver.zip")
+sha512sums=('76a2cdfbe74bd25825dd0a91f81d3651d6baab374b7cffd2346d9194b30d2bf16940e448ede5b1c5f470ad2ff7df082a957ec6eade336b9baaafd40870648b1e')
+
+package_unicode-cldr-annotations() {
+  pkgdesc="Unicode Common Locale Data Repository (annotations only)"
+
+  cd common
+  install -dm755 "$pkgdir"/usr/share/unicode/cldr/common
+  cp -r annotations "$pkgdir"/usr/share/unicode/cldr/common/
+  install -Dm644 ../unicode-license.txt -t "$pkgdir"/usr/share/licenses/$pkgname/
+}
+
+package_unicode-cldr() {
+  depends=('unicode-cldr-annotations')
+
+  cd common
+  install -dm755 "$pkgdir"/usr/share/unicode/cldr/common
+  cp -r !(annotations) "$pkgdir"/usr/share/unicode/cldr/common/
+
+  install -Dm644 ../unicode-license.txt -t "$pkgdir"/usr/share/licenses/$pkgname/
+}



More information about the arch-commits mailing list