Package Details: bakadict-git r21.3bb4f08-1

Git Clone URL: https://aur.archlinux.org/bakadict-git.git (read-only, click to copy)
Package Base: bakadict-git
Description: 离线的命令行日语词典
Upstream URL: https://github.com/flaribbit/bakadict
Keywords: dictionary japanese
Licenses: unknown
Provides: dict
Submitter: AsukaMinato
Maintainer: AronYoung
Last Packager: AronYoung
Votes: 0
Popularity: 0.000000
First Submitted: 2023-02-15 13:12 (UTC)
Last Updated: 2023-07-17 11:26 (UTC)

Latest Comments

MarsSeed commented on 2023-06-23 15:43 (UTC) (edited on 2023-06-23 15:45 (UTC) by MarsSeed)

Please use an enhanced pkgver() implementation (like the one here).

Because you need to remove the beginning v from the version, and also make sure that only numeric version tags get used in pkver, not alphabetical ones like databases (the earliest tag of this project).

Also you have to declare something like the following in the PKGBUILD:

provides=("bakadict=$pkgver" 'dict')
conflicts=('bakadict' 'dict' 'dictd')

The last entry, dictd is very important to have in 'conflicts'. Because the Arch package dictd already contains the file /usr/bin/dict.

So dictd and a bakadict package cannot be both installed on the same system: they have conflicting files.

Richard969 commented on 2023-03-13 21:36 (UTC)

package()内

install -Dm644 jp.db ~/.config/bakadict/databases/jp.db

jp.db安装在构建用户的用户文件夹内,而不是软件包内, 会导致: 直接安装构建好的包无法找到数据库。