void-packages/srcpkgs/googler/template
2020-11-09 13:43:31 -05:00

19 lines
782 B
Bash

# Template file for 'googler'
pkgname=googler
version=4.3.1
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="Nathan Owens <ndowens@artixlinux.org>"
license="GPL-3.0-or-later"
homepage="https://github.com/jarun/googler"
distfiles="https://github.com/jarun/googler/archive/v${version}.tar.gz"
checksum=f756182ed383050cbdaac8ee4f02c904ca26f76a727f3ec58cc8ab6a8cba3f23
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/vendor_completions.d
vinstall auto-completion/zsh/_googler 644 /usr/share/zsh/site-functions
}