void-packages/srcpkgs/googler/template

20 lines
766 B
Bash

# Template file for 'googler'
pkgname=googler
version=4.0
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="Orphaned <orphan@voidlinux.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=f72593ca2a3dccd7301c0fed55effd223cc38f6c21910bffbbfba1360c985cd3
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
}