aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--main/the_silver_searcher/APKBUILD24
1 files changed, 14 insertions, 10 deletions
diff --git a/main/the_silver_searcher/APKBUILD b/main/the_silver_searcher/APKBUILD
index 6e345dfa1e..746080f97b 100644
--- a/main/the_silver_searcher/APKBUILD
+++ b/main/the_silver_searcher/APKBUILD
@@ -1,32 +1,36 @@
+# Contributor: Sören Tempel <soeren+alpine@soeren-tempel.net>
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=the_silver_searcher
-pkgver=0.32.0
+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="Apache"
+license="ASL 2.0"
depends=""
makedepends="pcre-dev xz-dev"
subpackages="$pkgname-doc"
-source="http://geoff.greer.fm/ag/releases/the_silver_searcher-$pkgver.tar.gz"
+source="http://geoff.greer.fm/ag/releases/$pkgname-$pkgver.tar.gz"
-_builddir="$srcdir"/$pkgname-$pkgver
+builddir="$srcdir"/$pkgname-$pkgver
build () {
- cd $srcdir/$pkgname-$pkgver
+ cd "$builddir"
./configure \
--build=$CBUILD \
--host=$CHOST \
--prefix=/usr \
+ --sysconfdir=/etc \
+ --mandir=/usr/share/man \
+ --localstatedir=/var \
|| return 1
- make
+ make || return 1
}
package() {
- cd "$_builddir"
+ cd "$builddir"
make DESTDIR="$pkgdir" install || return 1
}
-md5sums="3fdfd5836924246073d5344257a06823 the_silver_searcher-0.32.0.tar.gz"
-sha256sums="944ca77e498f344b2bfbd8df6d5d8df7bbc1c7e080b50c0bab3d1a9a55151b60 the_silver_searcher-0.32.0.tar.gz"
-sha512sums="a6ad5c4c3889344d5d0c71fc63614f55acd60bd20daa894c68757fc1ffd4f60b1f81308a09c1822ac0bcf110cb3338731ff1159787352f181e824bd68cf74967 the_silver_searcher-0.32.0.tar.gz"
+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"