# Template file for 'the-silver-searcher'
pkgname=the_silver_searcher
version=0.31.0
revision=1
build_style=gnu-configure
hostmakedepends="pkg-config automake"
makedepends="pcre-devel zlib-devel liblzma-devel"
short_desc="The Silver Searcher - better than ack"
maintainer="Jan S. <jan.schreib@gmail.com>"
license="Apache-2.0"
homepage="http://geoff.greer.fm/ag/"
distfiles="http://geoff.greer.fm/ag/releases/${pkgname}-${version}.tar.gz"
checksum=2b556d61a702d04e2638532aba08bccf178523b6a38464a25305563581823271

post_install() {
	rm ${DESTDIR}/usr/share/the_silver_searcher/completions/ag.bashcomp.sh
	vinstall ag.bashcomp.sh 644 usr/share/bash-completion/completions ag
}
