void-packages/srcpkgs/googler/template

20 lines
769 B
Bash
Raw Normal View History

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