summaryrefslogtreecommitdiff
path: root/community/the_silver_searcher/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'community/the_silver_searcher/PKGBUILD')
-rw-r--r--community/the_silver_searcher/PKGBUILD30
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: