Date: Saturday, January 28, 2023 @ 18:09:12
Author: felixonmars
Revision: 1390339
archrelease: copy trunk to community-any
Added:
fcitx5-pinyin-zhwiki/repos/community-any/PKGBUILD
(from rev 1390338, 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 2023-01-28 18:09:06 UTC (rev 1390338)
+++ PKGBUILD 2023-01-28 18:09:12 UTC (rev 1390339)
@@ -1,50 +0,0 @@
-# Maintainer: Felix Yan <[email protected]>
-
-pkgbase=fcitx5-pinyin-zhwiki
-pkgname=(fcitx5-pinyin-zhwiki rime-pinyin-zhwiki)
-_converterver=0.2.4
-_zhwikiver=20221220
-_webslangver=20221230
-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'
-
'fbe2d9f7f8fb856708c62d5b80cd756c34faaa56ccdb8ec19aa2f0f1276131ddabafb6057d038befb82ea61bc500bed8cbff3bbcb66990fb4d9b9919f00ec413'
-
'9f8ad7a5521794e7543662d647b4ae8a0110e032d624790ae459c449a90453849233079913424deb5bd14031859c6bad7874abeb29a1bf92fe11e98df3fe3074'
-
'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 1390338,
fcitx5-pinyin-zhwiki/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2023-01-28 18:09:12 UTC (rev 1390339)
@@ -0,0 +1,50 @@
+# Maintainer: Felix Yan <[email protected]>
+
+pkgbase=fcitx5-pinyin-zhwiki
+pkgname=(fcitx5-pinyin-zhwiki rime-pinyin-zhwiki)
+_converterver=0.2.4
+_zhwikiver=20230120
+_webslangver=20230128
+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'
+
'bae38f58aaf6b5348be41dc7ce08572dc523e301862ab02d7bd1562ec3621d823305d00a3f36fb97d014548b2bd01a1e788b97b0e0b365cb06f933a868622d85'
+
'8b3187b5fb41e7ada1d4a7307938a2d9c90a89157dc815806a075ee9592fba0e33b4fef79cdbb488f7817df2281eda3d2946b67cb8d7f13602a02a26593f937a'
+
'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/
+}