summaryrefslogtreecommitdiff
path: root/community/the_silver_searcher/PKGBUILD
blob: 3d62931308f7a9644ec370c804d7148e4aeb240f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
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: