void-packages/srcpkgs/the_silver_searcher/template
2017-06-11 00:22:20 +02:00

20 lines
765 B
Bash

# Template file for 'the-silver-searcher'
pkgname=the_silver_searcher
version=2.0.0
revision=1
build_style=gnu-configure
hostmakedepends="pkg-config automake"
makedepends="pcre-devel zlib-devel liblzma-devel"
short_desc="Code-searching tool similar to ack, but faster"
maintainer="Jan S. <jan.schreib@gmail.com>"
license="Apache-2.0"
homepage="https://geoff.greer.fm/ag/"
distfiles="https://geoff.greer.fm/ag/releases/${pkgname}-${version}.tar.gz"
checksum=003387ebbfdde545841103d0ef812f30a5501a984afb3d5b45fb55714b1e9513
post_install() {
rm ${DESTDIR}/usr/share/the_silver_searcher/completions/ag.bashcomp.sh
vinstall ag.bashcomp.sh 644 usr/share/bash-completion/completions ag
vinstall _the_silver_searcher 644 usr/share/zsh/site-functions
vlicense NOTICE
}