[arch-commits] Commit in fcitx5-pinyin-zhwiki/repos/community-any (PKGBUILD PKGBUILD)

Felix Yan felixonmars at archlinux.org
Sun Jul 4 13:57:36 UTC 2021


    Date: Sunday, July 4, 2021 @ 13:57:36
  Author: felixonmars
Revision: 972065

archrelease: copy trunk to community-any

Added:
  fcitx5-pinyin-zhwiki/repos/community-any/PKGBUILD
    (from rev 972064, fcitx5-pinyin-zhwiki/trunk/PKGBUILD)
Deleted:
  fcitx5-pinyin-zhwiki/repos/community-any/PKGBUILD

----------+
 PKGBUILD |  100 ++++++++++++++++++++++++++++++-------------------------------
 1 file changed, 50 insertions(+), 50 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2021-07-04 13:57:31 UTC (rev 972064)
+++ PKGBUILD	2021-07-04 13:57:36 UTC (rev 972065)
@@ -1,50 +0,0 @@
-# Maintainer: Felix Yan <felixonmars at archlinux.org>
-
-pkgbase=fcitx5-pinyin-zhwiki
-pkgname=(fcitx5-pinyin-zhwiki rime-pinyin-zhwiki)
-_converterver=0.2.3
-_zhwikiver=20210620
-_webslangver=20210625
-pkgver=$_converterver.$_webslangver
-pkgrel=1
-epoch=1
-pkgdesc="Fcitx 5 Pinyin Dictionary from zh.wikipedia.org"
-arch=('any')
-url="https://github.com/felixonmars/fcitx5-pinyin-zhwiki"
-license=('CCPL:by-sa' 'custom:GFDL')
-makedepends=('libime' 'opencc' 'pypinyin')
-source=(https://github.com/felixonmars/fcitx5-pinyin-zhwiki/archive/$_converterver/$pkgbase-$_converterver.tar.gz
-        https://github.com/felixonmars/fcitx5-pinyin-zhwiki/releases/download/$_converterver/web-slang-$_webslangver.source
-        https://dumps.wikimedia.org/zhwiki/$_zhwikiver/zhwiki-$_zhwikiver-all-titles-in-ns0.gz
-        https://www.gnu.org/licenses/fdl-1.3.txt)
-sha512sums=('b09e4e29e4c3e5e9007f28d56e2ac07663ad56eb1e4004dad647de7f4b41522054a65c40f952bb3752ea6015b3b1adc30f95922749cd5653ea60b9d151dd4013'
-            'e3f283bc5e66b8551525e05783361be4224e572ea7de10a73de5c26f0685709c7830f5558d00da2216969db00031b95bcf25b7a6cf5992c73a01d44e84353052'
-            'a8eee3b574c515c4c5f232b056d3d39e9efb9d9d03a3d431fdbbdf6d969c380b6cb2f6ebc8d2c05c3223b77c6617180e3613d14ae71f06160ba9239b5e97e231'
-            'bea1788b2bdc84f470e459114b871cf4ee991718964a63e18adde65116806d7676484cb30857cf74dece5eef5f96a015ee4a21900e019623e5d3484868b28b7f')
-
-_make="make -L VERSION=$_zhwikiver WEB_SLANG_VERSION=$_webslangver"
-
-prepare() {
-  cd $pkgbase-$_converterver
-  # Workaround pacman decompression
-  touch zhwiki-$_zhwikiver-all-titles-in-ns0.gz
-  ln -s ../zhwiki-$_zhwikiver-all-titles-in-ns0
-  ln -s ../web-slang-$_webslangver.source
-}
-
-build() {
-  cd $pkgbase-$_converterver
-  $_make zhwiki.dict zhwiki.dict.yaml
-}
-
-package_fcitx5-pinyin-zhwiki() {
-  cd $pkgbase-$_converterver
-  $_make DESTDIR="$pkgdir" install
-  install -Dm644 ../fdl-1.3.txt -t "$pkgdir"/usr/share/licenses/$pkgname/
-}
-
-package_rime-pinyin-zhwiki() {
-  cd $pkgbase-$_converterver
-  $_make DESTDIR="$pkgdir" install_rime_dict
-  install -Dm644 ../fdl-1.3.txt -t "$pkgdir"/usr/share/licenses/$pkgname/
-}

Copied: fcitx5-pinyin-zhwiki/repos/community-any/PKGBUILD (from rev 972064, fcitx5-pinyin-zhwiki/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2021-07-04 13:57:36 UTC (rev 972065)
@@ -0,0 +1,50 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgbase=fcitx5-pinyin-zhwiki
+pkgname=(fcitx5-pinyin-zhwiki rime-pinyin-zhwiki)
+_converterver=0.2.3
+_zhwikiver=20210701
+_webslangver=20210704
+pkgver=$_converterver.$_webslangver
+pkgrel=1
+epoch=1
+pkgdesc="Fcitx 5 Pinyin Dictionary from zh.wikipedia.org"
+arch=('any')
+url="https://github.com/felixonmars/fcitx5-pinyin-zhwiki"
+license=('CCPL:by-sa' 'custom:GFDL')
+makedepends=('libime' 'opencc' 'pypinyin')
+source=(https://github.com/felixonmars/fcitx5-pinyin-zhwiki/archive/$_converterver/$pkgbase-$_converterver.tar.gz
+        https://github.com/felixonmars/fcitx5-pinyin-zhwiki/releases/download/$_converterver/web-slang-$_webslangver.source
+        https://dumps.wikimedia.org/zhwiki/$_zhwikiver/zhwiki-$_zhwikiver-all-titles-in-ns0.gz
+        https://www.gnu.org/licenses/fdl-1.3.txt)
+sha512sums=('b09e4e29e4c3e5e9007f28d56e2ac07663ad56eb1e4004dad647de7f4b41522054a65c40f952bb3752ea6015b3b1adc30f95922749cd5653ea60b9d151dd4013'
+            '1c63c8bfa20c8d2a8b25783b3c29f6f6ac807be67b2f22582dda742432a2b860221a67e678d5349e2df8e6ac653bce78e43bfdc9e629beda3c2670a4dd8298b2'
+            'c7b64618ec4670a12fe0d57a920039fe2ea145d00aa77ec4c1f4ba2ddb5644618a6d07f39c12edcd5c3ada91688e0b1cbbe903d852e7f42febbeaf78ca2f91eb'
+            'bea1788b2bdc84f470e459114b871cf4ee991718964a63e18adde65116806d7676484cb30857cf74dece5eef5f96a015ee4a21900e019623e5d3484868b28b7f')
+
+_make="make -L VERSION=$_zhwikiver WEB_SLANG_VERSION=$_webslangver"
+
+prepare() {
+  cd $pkgbase-$_converterver
+  # Workaround pacman decompression
+  touch zhwiki-$_zhwikiver-all-titles-in-ns0.gz
+  ln -s ../zhwiki-$_zhwikiver-all-titles-in-ns0
+  ln -s ../web-slang-$_webslangver.source
+}
+
+build() {
+  cd $pkgbase-$_converterver
+  $_make zhwiki.dict zhwiki.dict.yaml
+}
+
+package_fcitx5-pinyin-zhwiki() {
+  cd $pkgbase-$_converterver
+  $_make DESTDIR="$pkgdir" install
+  install -Dm644 ../fdl-1.3.txt -t "$pkgdir"/usr/share/licenses/$pkgname/
+}
+
+package_rime-pinyin-zhwiki() {
+  cd $pkgbase-$_converterver
+  $_make DESTDIR="$pkgdir" install_rime_dict
+  install -Dm644 ../fdl-1.3.txt -t "$pkgdir"/usr/share/licenses/$pkgname/
+}




More information about the arch-commits mailing list