Package Details: fcitx5-pinyin-moegirl 20230617-1

Git Clone URL: https://aur.archlinux.org/fcitx5-pinyin-moegirl.git (read-only, click to copy)
Package Base: fcitx5-pinyin-moegirl
Description: Fcitx 5 Pinyin Dictionary from moegirl.org wiki
Upstream URL: https://github.com/outloudvi/mw2fcitx
Keywords: chinese fcitx5 moegirl wiki
Licenses: cc-by-nc-sa-3.0, Unlicense
Submitter: ryosuke
Maintainer: ryosuke
Last Packager: ryosuke
Votes: 3
Popularity: 0.37
First Submitted: 2021-12-12 03:53 (UTC)
Last Updated: 2023-06-25 20:43 (UTC)

Latest Comments

peterjc123 commented on 2023-06-27 11:29 (UTC)

According to PKGBUILD - ArchWiki, the name of the source file should be unique.

Warning: The downloaded source filename must be unique because the SRCDEST directory can be the same for all packages. For instance, using the version number of the project as a filename potentially conflicts with other projects with the same version number. In this case, the alternative unique filename to be used is provided with the syntax source=('unique_package_name::file_uri'); e.g. source=("$pkgname-$pkgver.tar.gz::https://github.com/coder/program/archive/v$pkgver.tar.gz").

So it is better to update the PKGBUILD to the following.

 url="https://github.com/outloudvi/mw2fcitx"
 license=('Unlicense' 'cc-by-nc-sa-3.0')
 source=("moegirl_${pkgver}.dict::https://github.com/outloudvi/${_reponame}/releases/download/${pkgver}/moegirl.dict")
sha256sums=('7949ffd986077916f583639bcb072498dc7ef00075237e276214d83e964c45fa')

 package() {
   install -Dm644 moegirl_${pkgver}.dict -t ${pkgdir}/usr/share/fcitx5/pinyin/dictionaries/moegirl.dict

Please kindly adopt this patch so that this package can be normally updated by the package managers.

Firestar commented on 2023-05-06 16:35 (UTC)

==> Validating source files with sha256sums...
    moegirl.dict ... FAILED
==> ERROR: One or more files did not pass the validity check!