mirror of
https://github.com/void-linux/void-packages.git
synced 2025-06-08 08:03:51 +02:00
scrotty: needs gettext, texinfo (makeinfo)
install fish completion to vendor_completions.d
This commit is contained in:
parent
6201a29e35
commit
78fd911aec
2 changed files with 22 additions and 2 deletions
20
srcpkgs/scrotty/patches/fish-completion-vendor.patch
Normal file
20
srcpkgs/scrotty/patches/fish-completion-vendor.patch
Normal file
|
@ -0,0 +1,20 @@
|
||||||
|
#reason: fish-shell requires 3rd-party completion files to be installed to vendor_completions.d
|
||||||
|
|
||||||
|
--- mk/shell.mk
|
||||||
|
+++ mk/shell.mk
|
||||||
|
@@ -189,12 +189,12 @@
|
||||||
|
.PHONY: install-fish
|
||||||
|
install-fish: $(foreach F,$(_AUTO_COMPLETE),bin/$(F).fish-completion)
|
||||||
|
@$(PRINTF_INFO) '\e[00;01;31mINSTALL\e[34m %s\e[00m\n' "$@"
|
||||||
|
- $(Q)$(INSTALL_DIR) -- "$(DESTDIR)$(DATADIR)/fish/completions"
|
||||||
|
+ $(Q)$(INSTALL_DIR) -- "$(DESTDIR)$(DATADIR)/fish/vendor_completions.d"
|
||||||
|
ifndef __SHELL_COMMAND
|
||||||
|
- $(Q)$(foreach F,$(_AUTO_COMPLETE),$(INSTALL_DATA) bin/$(F).fish-completion -- "$(DESTDIR)$(DATADIR)/fish/completions/$(F).fish" &&) $(TRUE)
|
||||||
|
+ $(Q)$(foreach F,$(_AUTO_COMPLETE),$(INSTALL_DATA) bin/$(F).fish-completion -- "$(DESTDIR)$(DATADIR)/fish/vendor_completions.d/$(F).fish" &&) $(TRUE)
|
||||||
|
endif
|
||||||
|
ifdef __SHELL_COMMAND
|
||||||
|
- $(Q)$(INSTALL_DATA) $^ -- "$(DESTDIR)$(DATADIR)/fish/completions/$(COMMAND).fish"
|
||||||
|
+ $(Q)$(INSTALL_DATA) $^ -- "$(DESTDIR)$(DATADIR)/fish/vendor_completions.d/$(COMMAND).fish"
|
||||||
|
endif
|
||||||
|
@$(ECHO_EMPTY)
|
||||||
|
|
|
@ -1,9 +1,9 @@
|
||||||
# Template file for 'scrotty'
|
# Template file for 'scrotty'
|
||||||
pkgname=scrotty
|
pkgname=scrotty
|
||||||
version=2.0
|
version=2.0
|
||||||
revision=2
|
revision=3
|
||||||
build_style=gnu-configure
|
build_style=gnu-configure
|
||||||
hostmakedepends="pkg-config auto-auto-complete"
|
hostmakedepends="auto-auto-complete gettext pkg-config texinfo"
|
||||||
makedepends="libpng-devel"
|
makedepends="libpng-devel"
|
||||||
depends="ImageMagick"
|
depends="ImageMagick"
|
||||||
short_desc="Framebuffer screenshoter"
|
short_desc="Framebuffer screenshoter"
|
||||||
|
|
Loading…
Add table
Reference in a new issue