aboutsummaryrefslogtreecommitdiffstats
path: root/testing/fzy/APKBUILD
blob: e094c611be638d9f6480b4af079b95032790db6b (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
# Contributor: Jonathan Neuschäfer <j.neuschaefer@gmx.net>
pkgname=fzy
pkgver=1.0
pkgrel=0
pkgdesc="A better fuzzy finder"
url="https://github.com/jhawthorn/$pkgname"
arch="all"
license="MIT"
depends=""
makedepends=""
install=""
subpackages="$pkgname-doc"
source="https://github.com/jhawthorn/fzy/releases/download/$pkgver/$pkgname-$pkgver.tar.gz"
builddir="$srcdir/$pkgname-$pkgver"

build() {
	cd "$builddir"
	make PREFIX="/usr"
}

check() {
	cd "$builddir"
	make check

	# In addition, we could also require ruby here, and run "make acceptance".
}

package() {
	cd "$builddir"
	make install PREFIX="/usr" DESTDIR="$pkgdir"
}

sha512sums="de5ed1af035260f4ae550c53b08c4ff302c978350784cbfd2981d1691f55d9c0f26b9333c74adea939b3f4578dd47e66ee99112e10afc5497c64011827d19dbc  fzy-1.0.tar.gz"