void-packages/srcpkgs/googler/template
2019-06-07 15:13:53 +02:00

19 lines
769 B
Bash

# Template file for 'googler'
pkgname=googler
version=3.9
revision=1
build_style=gnu-makefile
make_build_target=disable-self-upgrade
depends="python3 xsel xclip"
short_desc="Google Search, Site Search and News from the terminal"
maintainer="maxice8 <thinkabit.ukim@gmail.com>"
license="GPL-3.0-or-later"
homepage="https://github.com/jarun/googler"
distfiles="https://github.com/jarun/googler/archive/v${version}.tar.gz"
checksum=b90c6d28ad6ce0a2a2320806ab2133857fe1a0b6ca2a489d8eda1b8062e620e2
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
}