void-packages/srcpkgs/pick/template

26 lines
632 B
Bash

# Template file for 'pick'
pkgname=pick
version=3.0.1
revision=1
build_style=configure
make_check_target=test
hostmakedepends="pkg-config"
makedepends="ncurses-devel"
checkdepends="ncurses-base"
short_desc="Fuzzy search tool for the command-line"
maintainer="Diogo Leal <diogo@diogoleal.com>"
license="MIT"
homepage="https://github.com/calleerlandsson/pick/"
distfiles="https://github.com/calleerlandsson/pick/archive/v${version}.tar.gz"
checksum=32afb40581af84b884fb0786f7c8a9169cecbc2122a00b4835f8610a0e94c00d
CFLAGS="-fcommon"
pre_configure() {
export PREFIX=/usr MANDIR=/usr/share/man
}
post_install() {
vlicense LICENSE
}