diff options
author | root <root@rshg054.dnsready.net> | 2013-07-19 01:10:32 -0700 |
---|---|---|
committer | root <root@rshg054.dnsready.net> | 2013-07-19 01:10:32 -0700 |
commit | 8fbc0076a4827ddc6af92e0b9daa4c4c31450808 (patch) | |
tree | 03fd0e2921ebd53228d9a93e32ed3976b636cbea /community/the_silver_searcher/PKGBUILD | |
parent | e445a313723389ba9ee1fded025c567dae5b21ea (diff) |
Fri Jul 19 01:09:18 PDT 2013
Diffstat (limited to 'community/the_silver_searcher/PKGBUILD')
-rw-r--r-- | community/the_silver_searcher/PKGBUILD | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/community/the_silver_searcher/PKGBUILD b/community/the_silver_searcher/PKGBUILD new file mode 100644 index 000000000..3d6293130 --- /dev/null +++ b/community/the_silver_searcher/PKGBUILD @@ -0,0 +1,30 @@ +# $Id: PKGBUILD 85733 2013-03-05 21:38:07Z arodseth $ +# Maintainer: Alexander Rødseth <rodseth@gmail.com> +# Contributor: Jeff Horelick <jdhore1@gmail.com> +# Contributor: skydrome <skydrome@i2pmail.org> + +pkgname=the_silver_searcher +pkgver=0.14 +pkgrel=1 +pkgdesc='Code searching tool similar to Ack, but faster' +url='https://github.com/ggreer/the_silver_searcher' +license=('Apache') +depends=('pcre' 'zlib') +arch=('x86_64' 'i686') +source=("https://github.com/ggreer/$pkgname/archive/$pkgver.tar.gz") +sha256sums=('9334d6f41685963c41790502fcfd83ed0ac664d94626d9fee44ae5c33c616bb3') + +build() { + cd "$srcdir/$pkgname-$pkgver" + + sed -i 's:configure:configure --prefix=/usr:' build.sh + ./build.sh +} + +package() { + cd "$srcdir/$pkgname-$pkgver" + + make DESTDIR="$pkgdir" install +} + +# vim:set ts=2 sw=2 et: |