summaryrefslogtreecommitdiff
path: root/community/the_silver_searcher/PKGBUILD
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2013-08-13 01:33:19 -0700
committerroot <root@rshg054.dnsready.net>2013-08-13 01:33:19 -0700
commit7a65a910b77ad191d69881098c47f9b0c852d92e (patch)
tree9564e611af1442f8952a8cbddb3b0ad25ed71aab /community/the_silver_searcher/PKGBUILD
parent60da6abff6c9577a783d72865f11de7a585e912e (diff)
Tue Aug 13 01:31:08 PDT 2013
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..cd1d72b87
--- /dev/null
+++ b/community/the_silver_searcher/PKGBUILD
@@ -0,0 +1,30 @@
+# $Id: PKGBUILD 94746 2013-07-29 21:17:53Z 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.15
+pkgrel=1
+pkgdesc='Code searching tool similar to Ack, but faster'
+url='https://github.com/ggreer/the_silver_searcher'
+license=('Apache')
+depends=('pcre' 'zlib' 'xz')
+arch=('x86_64' 'i686')
+source=("$pkgname-$pkgver.tar.gz::https://github.com/ggreer/$pkgname/archive/$pkgver.tar.gz")
+sha256sums=('bb05e329148315a9791cfa5cc1f7db4681e44476729971b4b3b7c2845a635748')
+
+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: