void-packages/srcpkgs/the_silver_searcher/template

19 lines
674 B
Bash

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