aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2015-08-14 08:30:58 +0200
committerNatanael Copa <ncopa@alpinelinux.org>2015-08-14 08:31:55 +0200
commit6b061284a0c71ce2c38b22f2fe6bcd36960b5535 (patch)
tree238b8634390424ca3f6c1028e9e84837df068d75
parent75980dafa07dcb40d328b7c8b95fb7f4fe9547bc (diff)
downloadaports-6b061284a0c71ce2c38b22f2fe6bcd36960b5535.tar.bz2
aports-6b061284a0c71ce2c38b22f2fe6bcd36960b5535.tar.xz
testing/the_silver_searcher: new aport
A code searching tool similar to ack, with a focus on speed. http://geoff.greer.fm/ag/
-rw-r--r--testing/the_server_searcher/APKBUILD33
1 files changed, 33 insertions, 0 deletions
diff --git a/testing/the_server_searcher/APKBUILD b/testing/the_server_searcher/APKBUILD
new file mode 100644
index 0000000000..734091869b
--- /dev/null
+++ b/testing/the_server_searcher/APKBUILD
@@ -0,0 +1,33 @@
+# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
+pkgname=the_silver_searcher
+pkgver=0.30.0
+pkgrel=0
+pkgdesc="A code searching tool similar to ack, with a focus on speed."
+url="http://geoff.greer.fm/ag/"
+arch="all"
+license="Apache"
+depends=""
+makedepends="pcre-dev xz-dev"
+subpackages=""
+source="http://geoff.greer.fm/ag/releases/the_silver_searcher-$pkgver.tar.gz"
+
+_builddir="$srcdir"/$pkgname-$pkgver
+build ()
+{
+ cd $srcdir/$pkgname-$pkgver
+ ./configure \
+ --build=$CBUILD \
+ --host=$CHOST \
+ --prefix=/usr \
+ || return 1
+ make
+}
+
+package() {
+ cd "$_builddir"
+ make DESTDIR="$pkgdir" install || return 1
+}
+
+md5sums="95e2e7859fab1156c835aff7413481db the_silver_searcher-0.30.0.tar.gz"
+sha256sums="b4bf9e50bf48bc5fde27fc386f7bcad8644ef15a174c862a10813e81bd127e69 the_silver_searcher-0.30.0.tar.gz"
+sha512sums="e41f9d00b6588d304c11216e1bf86cae8135d29022da35b8f1b3e2337b9b9b5f7e37756ed35e065d29636c6ad4b79725a73c8df212c2423b4e9fea64ae2d657f the_silver_searcher-0.30.0.tar.gz"