diff --git a/srcpkgs/fuzzypkg/template b/srcpkgs/fuzzypkg/template new file mode 100644 index 00000000000..6243aa202a7 --- /dev/null +++ b/srcpkgs/fuzzypkg/template @@ -0,0 +1,25 @@ +# Template file for 'fuzzypkg' +pkgname=fuzzypkg +version=1.0.2 +revision=1 +depends="bash" +short_desc="XBPS fuzzy package manager" +maintainer="Zach Dykstra " +license="MIT" +homepage="https://github.com/zdykstra/fuzzypkg" +distfiles="https://github.com/zdykstra/fuzzypkg/archive/v${version}.tar.gz" +checksum=f9aa5bd0d679f43d7d78654ba579fa460c5625b4504c4221a35a90623d59d90f + +case "$XBPS_TARGET_MACHINE" in + x86_64*|i686*|armv[67]*|aarch64*|ppc64le*) + depends+=" fzf" + ;; + *) + depends+=" skim" + ;; +esac + +do_install() { + vlicense LICENSE + vbin fuzzypkg +}