the_silver_searcher: install bash completion to correct path.

This commit is contained in:
Juan RP 2014-09-23 17:10:03 +02:00
parent bcbaf7bf19
commit 26975f19df
1 changed files with 6 additions and 1 deletions

View File

@ -1,7 +1,7 @@
# Template file for 'the-silver-searcher'
pkgname=the_silver_searcher
version=0.24.1
revision=1
revision=2
build_style=gnu-configure
hostmakedepends="pkg-config automake"
makedepends="pcre-devel zlib-devel liblzma-devel"
@ -11,3 +11,8 @@ license="Apache"
homepage="http://geoff.greer.fm/ag/"
distfiles="http://geoff.greer.fm/ag/releases/${pkgname}-${version}.tar.gz"
checksum=b5bb4d2d68b7a114784d781543e651f471863a95700f998f156dc5128ada2c20
post_install() {
rm ${DESTDIR}/usr/share/the_silver_searcher/completions/ag.bashcomp.sh
vinstall ag.bashcomp.sh 644 usr/share/bash-completion/completions ag
}