fzf package: add v0.46.1 (#42603)

* fzf: add v0.46.1
* Standardize vim plugin install
This commit is contained in:
Alec Scott 2024-02-09 16:29:20 -08:00 committed by GitHub
parent 41f735a4ee
commit 1d508e1be3
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -19,6 +19,7 @@ class Fzf(MakefilePackage):
license("MIT")
version("0.46.1", sha256="b0d640be3ae79980fdf461096f7d9d36d38ec752e25f8c4d2ca3ca6c041c2491")
version("0.45.0", sha256="f0dd5548f80fe7f80d9277bb8fe252ac6e42a41e76fc85ce0f3af702cd987600")
version("0.44.1", sha256="295f3aec9519f0cf2dce67a14e94d8a743d82c19520e5671f39c71c9ea04f90c")
version("0.42.0", sha256="743c1bfc7851b0796ab73c6da7db09d915c2b54c0dd3e8611308985af8ed3df2")
@ -53,8 +54,6 @@ def install(self, spec, prefix):
mkdirp(prefix.share.fzf.shell)
install_tree("shell", prefix.share.fzf.shell)
@run_after("install")
def post_install(self):
if "+vim" in self.spec:
mkdir(self.prefix.plugin)
install("plugin/fzf.vim", self.prefix.plugin)
if spec.satisfies("+vim"):
mkdirp(prefix.share.fzf.plugins)
install("plugin/fzf.vim", prefix.share.fzf.plugins)