diff --git a/srcpkgs/googler/template b/srcpkgs/googler/template new file mode 100644 index 0000000000..33c2fe066c --- /dev/null +++ b/srcpkgs/googler/template @@ -0,0 +1,19 @@ +# Template file for 'googler' +pkgname=googler +version=3.5 +revision=1 +build_style=gnu-makefile +depends="python3 xsel" +short_desc="Google Search, Site Search and News from the terminal" +maintainer="maxice8 " +license="GPL-3" +homepage="https://github.com/jarun/googler" +distfiles="https://github.com/jarun/googler/archive/v${version}.tar.gz" +checksum=55ff07648257f5d2d642d1f5d6bd682e6aa32605755d4040dac4ef787257cbea +make_build_target="disable-self-upgrade" + +post_install() { + vinstall auto-completion/bash/googler-completion.bash 644 /usr/share/bash-completion/completions/googler + vinstall auto-completion/fish/googler.fish 644 /usr/share/fish/completions + vinstall auto-completion/zsh/_googler 644 /usr/share/zsh/site-functions +}