From a25335114ebe6c84d66eb6d8a09364d4c775258f Mon Sep 17 00:00:00 2001 From: Patrick Pichler Date: Tue, 21 Apr 2020 17:37:40 +0200 Subject: [PATCH 1/2] New package: babashka-0.0.88-2 --- srcpkgs/babashka/template | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 srcpkgs/babashka/template diff --git a/srcpkgs/babashka/template b/srcpkgs/babashka/template new file mode 100644 index 00000000000..1dc8fe211f9 --- /dev/null +++ b/srcpkgs/babashka/template @@ -0,0 +1,22 @@ +# Template file for 'babashka' +pkgname=babashka +version=0.0.88 +revision=2 +archs="x86_64" +build_style=fetch +hostmakedepends="unzip" +short_desc="Native fast-starting Clojure scripting environment" +maintainer="Patrick Pichler " +license="GPL-3.0-or-later" +homepage="https://github.com/borkdude/babashka" +distfiles="https://github.com/borkdude/babashka/releases/download/v${version}-${revision}/babashka-${version}-${revision}-linux-static-amd64.zip" +checksum=36a9d423aee0c476f4c6ddcac5140987fc7dde6d502146f6cd7fa6baaa2bea95 + +do_extract() { + mkdir -p usr/bin + unzip -d usr/bin "${XBPS_SRCDISTDIR}/${pkgname}-${version}/babashka-${version}-${revision}-linux-static-amd64.zip" +} + +do_install() { + vbin usr/bin/bb +} From 88d2af0ad3ec3da6ed01b0717761b9b0a66bb2d8 Mon Sep 17 00:00:00 2001 From: Patrick Pichler Date: Tue, 21 Apr 2020 19:35:26 +0200 Subject: [PATCH 2/2] Fix license --- srcpkgs/babashka/template | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/srcpkgs/babashka/template b/srcpkgs/babashka/template index 1dc8fe211f9..277a5d46090 100644 --- a/srcpkgs/babashka/template +++ b/srcpkgs/babashka/template @@ -7,7 +7,7 @@ build_style=fetch hostmakedepends="unzip" short_desc="Native fast-starting Clojure scripting environment" maintainer="Patrick Pichler " -license="GPL-3.0-or-later" +license="EPL-1.0" homepage="https://github.com/borkdude/babashka" distfiles="https://github.com/borkdude/babashka/releases/download/v${version}-${revision}/babashka-${version}-${revision}-linux-static-amd64.zip" checksum=36a9d423aee0c476f4c6ddcac5140987fc7dde6d502146f6cd7fa6baaa2bea95