21 lines
763 B
Bash
21 lines
763 B
Bash
# Template file for 'the-silver-searcher'
|
|
pkgname=the_silver_searcher
|
|
version=1.0.3
|
|
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=d586f483a0e709dd383f82006495550114171719f0633a24f09fab6c8dde009e
|
|
|
|
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
|
|
}
|