From c27621890ea401c765a760c464337ce4847db809 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Adri=C3=A0=20Rubio?= Date: Wed, 13 Apr 2022 16:18:29 +0200 Subject: [PATCH] New package: ki-shell-0.4.5 --- srcpkgs/ki-shell/template | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 srcpkgs/ki-shell/template diff --git a/srcpkgs/ki-shell/template b/srcpkgs/ki-shell/template new file mode 100644 index 000000000000..d9738ae8184a --- /dev/null +++ b/srcpkgs/ki-shell/template @@ -0,0 +1,22 @@ +# Template file for 'ki-shell' +pkgname=ki-shell +version=0.4.5 +revision=1 +wrksrc="kotlin-interactive-shell-${version}" +hostmakedepends="openjdk8 curl which" +depends="virtual?java-environment" +short_desc="Kotlin interactive shell" +maintainer="Engolianth " +license="Apache-2.0" +homepage="https://github.com/Kotlin/kotlin-interactive-shell" +distfiles="https://github.com/kotlin/kotlin-interactive-shell/archive/refs/tags/v${version}.tar.gz" +checksum=b5e38918ac64216713c64170fd12f7b2c7c00124ba8d8b10ae7e53b386cb4bab + +do_build() { + ./mvnw -DskipTests package +} + +do_install() { + vbin bin/ki + vinstall lib/ki-shell.jar 644 usr/lib +}