Skip to content

Instantly share code, notes, and snippets.

@ephemient
Created April 1, 2021 19:39
Show Gist options
  • Save ephemient/cfa9bf7c133d7f3eeefc3d9937dc4370 to your computer and use it in GitHub Desktop.
Save ephemient/cfa9bf7c133d7f3eeefc3d9937dc4370 to your computer and use it in GitHub Desktop.
ki-shell
pkgbase = ki-shell
pkgdesc = Kotlin Language Interactive Shell
pkgver = 0.3.2
pkgrel = 1
url = https://github.com/Kotlin/kotlin-interactive-shell
arch = any
license = APACHE
depends = java-runtime
source = https://repo1.maven.org/maven2/org/jetbrains/kotlinx/ki-shell/0.3.2/ki-shell-0.3.2-archive.zip
md5sums = af50d913bd362facf6b4244b1a682c0f
sha256sums = e8447c19738d0daf75aa7ffabe5f3b64875ecfe5b9daae3840778af1313eaf12
pkgname = ki-shell
pkgname=ki-shell
pkgver=0.3.2
pkgrel=1
pkgdesc='Kotlin Language Interactive Shell'
arch=('any')
url='https://github.com/Kotlin/kotlin-interactive-shell'
license=('APACHE')
source=("https://repo1.maven.org/maven2/org/jetbrains/kotlinx/${pkgname}/${pkgver}/${pkgname}-${pkgver}-archive.zip")
md5sums=('af50d913bd362facf6b4244b1a682c0f')
sha256sums=('e8447c19738d0daf75aa7ffabe5f3b64875ecfe5b9daae3840778af1313eaf12')
depends=('java-runtime')
package() {
install -m755 -d "${pkgdir}/usr/bin" "${pkgdir}/usr/lib"
install -m755 "${srcdir}/ki/bin/ki.sh" "${pkgdir}/usr/bin/${pkgname}"
install -m644 -t "${pkgdir}/usr/lib" "${srcdir}/ki/lib/"*.jar
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment