summaryrefslogtreecommitdiff
path: root/user/the_silver_searcher/APKBUILD
diff options
context:
space:
mode:
authorA. Wilcox <AWilcox@Wilcox-Tech.com>2020-01-12 01:39:54 +0000
committerA. Wilcox <AWilcox@Wilcox-Tech.com>2020-01-12 01:39:54 +0000
commit5d4e2c0456662aa1f74d1a2c41b1bfb567f56d7d (patch)
tree2b8febb001be429260957e56ae975964774f4aeb /user/the_silver_searcher/APKBUILD
parent750ede08c898240f8c8c9e74277ca1580b3f10f3 (diff)
downloadpackages-5d4e2c0456662aa1f74d1a2c41b1bfb567f56d7d.tar.gz
packages-5d4e2c0456662aa1f74d1a2c41b1bfb567f56d7d.tar.bz2
packages-5d4e2c0456662aa1f74d1a2c41b1bfb567f56d7d.tar.xz
packages-5d4e2c0456662aa1f74d1a2c41b1bfb567f56d7d.zip
user/*: Modernise / fix syntax / metadata / deps
Diffstat (limited to 'user/the_silver_searcher/APKBUILD')
-rw-r--r--user/the_silver_searcher/APKBUILD5
1 files changed, 1 insertions, 4 deletions
diff --git a/user/the_silver_searcher/APKBUILD b/user/the_silver_searcher/APKBUILD
index c9f324a69..e906445e6 100644
--- a/user/the_silver_searcher/APKBUILD
+++ b/user/the_silver_searcher/APKBUILD
@@ -9,14 +9,13 @@ arch="all"
options="!check" # Tests are not shipped in the release tarball...
license="Apache-2.0"
depends=""
-makedepends="pcre-dev xz-dev zlib-dev"
checkdepends="cram"
+makedepends="pcre-dev xz-dev zlib-dev"
subpackages="$pkgname-doc"
source="https://geoff.greer.fm/ag/releases/the_silver_searcher-$pkgver.tar.gz"
builddir="$srcdir/the_silver_searcher-$pkgver"
build() {
- cd "$builddir"
./configure \
--build=$CBUILD \
--host=$CHOST \
@@ -28,12 +27,10 @@ build() {
}
check() {
- cd "$builddir"
make test
}
package() {
- cd "$builddir"
make DESTDIR="$pkgdir" install
}