aboutsummaryrefslogtreecommitdiffstats
path: root/testing/fzy/APKBUILD
blob: 00e88709b7d6332f971209174dc1b65c5750fc3e (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=0.9
pkgrel=1
pkgdesc="A better fuzzy finder"
url="https://github.com/jhawthorn/$pkgname"
arch="all"
license="MIT"
depends=""
makedepends=""
install=""
subpackages="$pkgname-doc"
source="$pkgname-$pkgver.tar.gz::https://github.com/jhawthorn/fzy/archive/$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="71a44bc3bbef3a2d82476a69b5c9e28753e760bbb8d453a9e44b57f34a79dd8ebcd510a869dfeae95f522ba6ccb4b8f10f79c081ce6bc6cfae9a41f4071fefc0  fzy-0.9.tar.gz"