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

Felix Yan felixonmars at gemini.archlinux.org
Mon Aug 23 10:10:42 UTC 2021


    Date: Monday, August 23, 2021 @ 10:10:42
  Author: felixonmars
Revision: 1004330

archrelease: copy trunk to community-any

Added:
  fcitx5-pinyin-zhwiki/repos/community-any/PKGBUILD
    (from rev 1004329, 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-08-23 10:10:33 UTC (rev 1004329)
+++ PKGBUILD	2021-08-23 10:10:42 UTC (rev 1004330)
@@ -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=20210801
-_webslangver=20210804
-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'
-            '34f33e30b6e5f0625f0c1dcc91d5dd19043c4fb5734f90df3850e889a5fba9e9c5159441bf3807d075e69ae4a506fa01800fcb47a90ea4a7478ebc981a1c4aaf'
-            '548924ade6856e336a5881929fecce081cc9d9ec5580f8aef8365bbaa5796431f020115b325e71855b994329ea4f48baae7ac4ccbf2196e68814b2e4ec38961f'
-            '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 1004329, fcitx5-pinyin-zhwiki/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2021-08-23 10:10:42 UTC (rev 1004330)
@@ -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=20210820
+_webslangver=20210823
+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'
+            '79c1f9c973e5d3231c7b2fc86df214bd96edda3783b2302f278d980cf60b30ca5f2bd00198a3768683da01ffe95c82a92eb70ad99911f9ed617f2de1b0193bbb'
+            '7d560357bc271cbe528272877daaf047ba3138193a81b89c30fc2e023434d433def78add0acf172eed6e92863fc14eaab118eb7dd0f99dfe5377938a5d17615e'
+            '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