blob: 6800f4d0f9bc6088c51f7bd1a2b3225b0c087524 (
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
|
# 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"
|