blob: 746080f97bb93d685938ca4f4532f659d43c95dc (
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
34
35
36
|
# Contributor: Sören Tempel <soeren+alpine@soeren-tempel.net>
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=the_silver_searcher
pkgver=0.33.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="ASL 2.0"
depends=""
makedepends="pcre-dev xz-dev"
subpackages="$pkgname-doc"
source="http://geoff.greer.fm/ag/releases/$pkgname-$pkgver.tar.gz"
builddir="$srcdir"/$pkgname-$pkgver
build () {
cd "$builddir"
./configure \
--build=$CBUILD \
--host=$CHOST \
--prefix=/usr \
--sysconfdir=/etc \
--mandir=/usr/share/man \
--localstatedir=/var \
|| return 1
make || return 1
}
package() {
cd "$builddir"
make DESTDIR="$pkgdir" install || return 1
}
md5sums="27aa17dbf4e0324defa341764852ba58 the_silver_searcher-0.33.0.tar.gz"
sha256sums="8ca680399df5ee8846a509c8a67c10ee1d5fc1a94456806a0ff9dd913b961db3 the_silver_searcher-0.33.0.tar.gz"
sha512sums="e8e4b5227209ad0ca02308135f62025848ec5a4d758cb8ea4bcc9c8add7394625b40b0796ef23204e50b8b38a2d467ebd573b8f210e6e146ae2d1cb4687aae4f the_silver_searcher-0.33.0.tar.gz"
|