void-packages/srcpkgs/fuzzypkg/template

27 lines
633 B
Bash

# Template file for 'fuzzypkg'
pkgname=fuzzypkg
version=1.0.4
revision=1
depends="bash"
short_desc="XBPS fuzzy package manager"
maintainer="Zach Dykstra <dykstra.zachary@gmail.com>"
license="MIT"
homepage="https://github.com/zdykstra/fuzzypkg"
distfiles="https://github.com/zdykstra/fuzzypkg/archive/v${version}.tar.gz"
checksum=8dd9b0e91e037e38231804470fd7f36ff9bf56e57b641116f3a252191d3b0ed2
case "$XBPS_TARGET_MACHINE" in
x86_64*|i686*|armv[67]*|aarch64*|ppc64le*)
depends+=" fzf"
;;
*)
depends+=" skim"
;;
esac
do_install() {
vlicense LICENSE
vbin fuzzypkg
vinstall ${pkgname}.desktop 644 usr/share/applications
}