# Template file for 'ddgr'
pkgname=ddgr
version=2.1
revision=1
build_style=gnu-makefile
depends="python3"
short_desc="DuckDuckGo from the terminal"
maintainer="Orphaned <orphan@voidlinux.org>"
license="GPL-3.0-or-later"
homepage="https://github.com/jarun/ddgr"
changelog="https://raw.githubusercontent.com/jarun/ddgr/main/CHANGELOG"
distfiles="https://github.com/jarun/ddgr/archive/refs/tags/v${version}.tar.gz"
checksum=fb6601ad533f2925d2d6299ab9e6dd48da0b75e99ef9ed9068f37e516380b5e6

post_install() {
	vcompletion auto-completion/bash/ddgr-completion.bash bash
	vcompletion auto-completion/fish/ddgr.fish fish
	vcompletion auto-completion/zsh/_ddgr zsh
}
