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

Felix Yan felixonmars at gemini.archlinux.org
Fri Jul 22 02:35:39 UTC 2022


    Date: Friday, July 22, 2022 @ 02:35:38
  Author: felixonmars
Revision: 1255095

archrelease: copy trunk to community-any

Added:
  fcitx5-pinyin-zhwiki/repos/community-any/PKGBUILD
    (from rev 1255094, 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	2022-07-22 02:35:22 UTC (rev 1255094)
+++ PKGBUILD	2022-07-22 02:35:38 UTC (rev 1255095)
@@ -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.4
-_zhwikiver=20220520
-_webslangver=20220529
-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=('f03215f0c6e137238a8c9f0ba557bf933ca2d4faf8c2a3aaa84f5e58485c8e0ace57f24d0cd855aa7a1d7e3001b4b36427c9a47ad04b92d11847bb5dbd24a709'
-            'd527a936cd8d29f5d2160d5609a71ebddfbe7cd3efaaefe12fc61e4e28564880c77e2921433fa92bcefe57d9e3530799c0482e9ace2ce43a66409cc7ed5e81f6'
-            'fbfec0d7a6bcf6daa9921ff3148f0a58a02f726bde853f6b5b35e254393fb793324765df358a336b9c59dfb0fffc18dae48f44f589fdc39225cfb271d5e519f2'
-            '22d46818d3998ad841f537af4de7c50440dd918099fb6c5d4ab324cd71dc03066bfe1b67210a5efde77abd1d97b88da3c3dbfc39a24ae7248ee2d64e7f0fe6bb')
-
-_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 1255094, fcitx5-pinyin-zhwiki/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2022-07-22 02:35:38 UTC (rev 1255095)
@@ -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.4
+_zhwikiver=20220720
+_webslangver=20220722
+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=('f03215f0c6e137238a8c9f0ba557bf933ca2d4faf8c2a3aaa84f5e58485c8e0ace57f24d0cd855aa7a1d7e3001b4b36427c9a47ad04b92d11847bb5dbd24a709'
+            'ecb1f8ae01ba323dc905ca46ae4b2e6e937361e84c03601e337be2a2f6dcf408af6c6746b9dfb1c015f19b3303eb27cc61f1df6a7ac055d877d530244c0c046d'
+            '1e572acf0ba9195a3147920472a4abb0c1a8b28f738b65e498d019c54df9fe3bdf5c41155893d9b7ae962f48d945e3078c0454d4aa814d450d94e94485db1321'
+            '22d46818d3998ad841f537af4de7c50440dd918099fb6c5d4ab324cd71dc03066bfe1b67210a5efde77abd1d97b88da3c3dbfc39a24ae7248ee2d64e7f0fe6bb')
+
+_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