void-packages/srcpkgs/the_silver_searcher/template

19 lines
674 B
Bash

# Template file for 'the-silver-searcher'
pkgname=the_silver_searcher
version=0.32.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=944ca77e498f344b2bfbd8df6d5d8df7bbc1c7e080b50c0bab3d1a9a55151b60
post_install() {
rm ${DESTDIR}/usr/share/the_silver_searcher/completions/ag.bashcomp.sh
vinstall ag.bashcomp.sh 644 usr/share/bash-completion/completions ag
}