From cd8b1f2dae3cb34000711f7dbf929adb1faca1ac Mon Sep 17 00:00:00 2001 From: keysemble Date: Fri, 10 Jul 2020 15:34:14 -0700 Subject: [PATCH] New package: gorun-git-20200226 --- srcpkgs/gorun-git/template | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100755 srcpkgs/gorun-git/template diff --git a/srcpkgs/gorun-git/template b/srcpkgs/gorun-git/template new file mode 100755 index 00000000000000..18720049540e1f --- /dev/null +++ b/srcpkgs/gorun-git/template @@ -0,0 +1,20 @@ +pkgname=gorun-git +_binname=gorun +version=20200226 +revision=1 +_githash=739ed4f41ece737c4187d6a6e96bb984487d8277 +makedepends="go" +wrksrc="${_binname}-${_githash}" +short_desc="Program to run Go programs as if they were scripts" +license="GPL3" +homepage="https://wiki.ubuntu.com/gorun" +distfiles="https://github.com/erning/gorun/archive/${_githash}.tar.gz" +checksum="08f8e90694044c80807300927a1225933b5b11498c25a0d29a927a7e0dde816a" + +do_build() { + GO111MODULE=off go build -o ${_binname} +} + +do_install() { + vbin ${_binname} +}