New package: searchfile-0.0.0.20180623 (#1063)

This commit is contained in:
cr6git 2018-07-21 00:38:05 +02:00 committed by GitHub
parent b44549d6ab
commit 5f760ad317
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 24 additions and 0 deletions

View File

@ -0,0 +1,24 @@
# Template file for 'searchfile'
pkgname=searchfile
version=0.0.0.20180623
revision=1
_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="cr6git <quark6@protonmail.com>"
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
}