scrotty: needs gettext, texinfo (makeinfo)

install fish completion to vendor_completions.d
This commit is contained in:
Piraty 2020-02-25 15:17:32 +01:00 committed by Piraty
parent 6201a29e35
commit 78fd911aec
2 changed files with 22 additions and 2 deletions

View 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)

View file

@ -1,9 +1,9 @@
# Template file for 'scrotty'
pkgname=scrotty
version=2.0
revision=2
revision=3
build_style=gnu-configure
hostmakedepends="pkg-config auto-auto-complete"
hostmakedepends="auto-auto-complete gettext pkg-config texinfo"
makedepends="libpng-devel"
depends="ImageMagick"
short_desc="Framebuffer screenshoter"