Date: Friday, December 30, 2022 @ 21:52:17
Author: felixonmars
Revision: 1372529
archrelease: copy trunk to community-any
Added:
fcitx5-pinyin-zhwiki/repos/community-any/PKGBUILD
(from rev 1372528, 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-12-30 21:52:06 UTC (rev 1372528)
+++ PKGBUILD 2022-12-30 21:52:17 UTC (rev 1372529)
@@ -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=20221120
-_webslangver=20221128
-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'
-
'8c7557e930cbadb017f1863b4b525069b651612b467e768550db167228d46c7bdd6317fdf41ce9ef7ce3beb93c524fd94826b611314d29ab7824a85d30180628'
-
'a3d67c7a26fb77dfbb25474cb81cfc4350d76afbe6a3013dd2c17406e01b48a7059f72aae7901bcdef063b0bfc9f090caee784951020d1a83bd644c3cb180401'
-
'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 1372528,
fcitx5-pinyin-zhwiki/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2022-12-30 21:52:17 UTC (rev 1372529)
@@ -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=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/
+}