From 5f760ad3171ce8f0c75b427211eb89c052c9185b Mon Sep 17 00:00:00 2001 From: cr6git Date: Sat, 21 Jul 2018 00:38:05 +0200 Subject: [PATCH] New package: searchfile-0.0.0.20180623 (#1063) --- srcpkgs/searchfile/template | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 srcpkgs/searchfile/template diff --git a/srcpkgs/searchfile/template b/srcpkgs/searchfile/template new file mode 100644 index 00000000000..181f4642703 --- /dev/null +++ b/srcpkgs/searchfile/template @@ -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 " +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 +} +