void-packages/srcpkgs/the_silver_searcher/template
2016-12-05 14:47:59 +01:00

20 lines
763 B
Bash

# Template file for 'the-silver-searcher'
pkgname=the_silver_searcher
version=1.0.2
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="http://geoff.greer.fm/ag/"
distfiles="http://geoff.greer.fm/ag/releases/${pkgname}-${version}.tar.gz"
checksum=6f4a78e1f1dfa5434c19e5a585ac8cefee69986f90920928498217b36b84a46c
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
}