aboutsummaryrefslogtreecommitdiffstats
path: root/testing/the_server_searcher/APKBUILD
blob: 734091869b41f0c460265a75f5a7e5c66bf83b34 (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
31
32
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"