vp-build/srcpkgs/searchfile/template

25 lines
782 B
Bash

# Template file for 'searchfile'
pkgname=searchfile
version=0.0.0.20180623
revision=2
_commit=b0413998217ae397e0642cc5d3666ed89e866f0c
wrksrc="${pkgname}-${_commit}"
build_style=go
go_import_path="github.com/lumi-sch/searchfile"
short_desc="Stop wasting your time looking for files that are somewhere"
maintainer="Orphaned <orphan@voidlinux.eu>"
license="MIT"
homepage="https://github.com/lumi-sch/searchfile"
distfiles="https://github.com/lumi-sch/searchfile/archive/${_commit}.tar.gz"
checksum=10bde7eb6a30ce5ebd01d257fd9cd89661ca86dc909d9d2c0b1f922abdfb6517
do_install() {
case "$XBPS_TARGET_MACHINE" in
aarch64*) vbin ${GOPATH}/bin/linux_arm64/${pkgname} ;;
arm*) vbin ${GOPATH}/bin/linux_arm/${pkgname} ;;
*) vbin ${GOPATH}/bin/${pkgname} ;;
esac
vlicense LICENSE
}