[arch-commits] Commit in fcitx5-pinyin-zhwiki/repos/community-any (PKGBUILD PKGBUILD)
Felix Yan
felixonmars at gemini.archlinux.org
Sun May 29 04:47:51 UTC 2022
Date: Sunday, May 29, 2022 @ 04:47:51
Author: felixonmars
Revision: 1213820
archrelease: copy trunk to community-any
Added:
fcitx5-pinyin-zhwiki/repos/community-any/PKGBUILD
(from rev 1213819, 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-05-29 04:47:36 UTC (rev 1213819)
+++ PKGBUILD 2022-05-29 04:47:51 UTC (rev 1213820)
@@ -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=20220401
-_webslangver=20220416
-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'
- 'f011aa03c6c7af0d842f52b4f7f7e1ce1c7b8628c02e3d75f4d56b84d7b52accb53393a00f787384e88c2c0b0d5da94e332b380ee219a239f762c1686b2f1aa4'
- '61e6c67ab28102f0e9eb39470131e4ff583cd9149a261c61368836e722e0350072f857cc3b7152547d84313e96facf1c4d41c2b67005b8fb47b89a9f34b00017'
- '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 1213819, fcitx5-pinyin-zhwiki/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2022-05-29 04:47:51 UTC (rev 1213820)
@@ -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=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/
+}
More information about the arch-commits
mailing list