aboutsummaryrefslogtreecommitdiffstats
path: root/testing/fzy/APKBUILD
blob: 6734744be279e5c5ba98a08f2dbedd1b664b62df (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
# Contributor: Jonathan Neuschäfer <j.neuschaefer@gmx.net>
# Maintainer: Eivind Uggedal <eu@eju.no>
pkgname=fzy
pkgver=1.0
pkgrel=2
pkgdesc="A better fuzzy finder"
url="https://github.com/jhawthorn/$pkgname"
arch="all"
license="MIT"
checkdepends="ruby-minitest ruby-ttytest"
subpackages="$pkgname-doc"
source="https://github.com/jhawthorn/fzy/releases/download/$pkgver/$pkgname-$pkgver.tar.gz"
builddir="$srcdir/$pkgname-$pkgver"

build() {
	make PREFIX="/usr"
}

check() {
	make check

	cd test/acceptance
	ruby acceptance_test.rb
}

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

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