diff options
author | Natanael Copa <ncopa@alpinelinux.org> | 2015-12-03 08:06:53 +0000 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2015-12-03 08:06:53 +0000 |
commit | 3ecfe5fd789ca8a5f0968365880fca03ac25b546 (patch) | |
tree | d3ae29fbcad53f62ac415b9fa12d9d4dd879228e /main/the_silver_searcher/APKBUILD | |
parent | c79b00778e91dbfc60ecccc0796bc1d4bf6823de (diff) | |
download | aports-3ecfe5fd789ca8a5f0968365880fca03ac25b546.tar.bz2 aports-3ecfe5fd789ca8a5f0968365880fca03ac25b546.tar.xz |
main/the_silver_searcher: move from testing
Diffstat (limited to 'main/the_silver_searcher/APKBUILD')
-rw-r--r-- | main/the_silver_searcher/APKBUILD | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/main/the_silver_searcher/APKBUILD b/main/the_silver_searcher/APKBUILD new file mode 100644 index 0000000000..6800f4d0f9 --- /dev/null +++ b/main/the_silver_searcher/APKBUILD @@ -0,0 +1,32 @@ +# Maintainer: Natanael Copa <ncopa@alpinelinux.org> +pkgname=the_silver_searcher +pkgver=0.31.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="$pkgname-doc" +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="6a4275e0191e7fe2f834f7ec00eabbbe the_silver_searcher-0.31.0.tar.gz" +sha256sums="2b556d61a702d04e2638532aba08bccf178523b6a38464a25305563581823271 the_silver_searcher-0.31.0.tar.gz" +sha512sums="a090ade80ace03a6dd02b98bde16b1ef36a30204da59aff1714217e8367c75470f2e56c6486e487e170ad7b207c868d4f596947e6a85c1af48c537fade575435 the_silver_searcher-0.31.0.tar.gz" |