void-packages/srcpkgs/googler/template

20 lines
769 B
Bash

# Template file for 'googler'
pkgname=googler
version=3.7
revision=1
build_style=gnu-makefile
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=8210dfcadc6d63f8415f25ff266e4fd437f448c7ce3179a5ec2769195c207bf5
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
}