diff options
author | cafehaine | 2019-10-13 10:25:05 +0200 |
---|---|---|
committer | cafehaine | 2019-10-13 10:25:05 +0200 |
commit | fd96811743497001b6c94e92423cc37a3da264ef (patch) | |
tree | b8a9d48ca44c6cf456a775c5076373c5116ba7a9 | |
parent | 40e5709484b03c8b94c2c548043f7d8c6e4e08c0 (diff) | |
download | aur-fd96811743497001b6c94e92423cc37a3da264ef.tar.gz |
Fix kernel.json
-rw-r--r-- | .SRCINFO | 4 | ||||
-rw-r--r-- | PKGBUILD | 7 | ||||
-rw-r--r-- | kernel.json | 13 |
3 files changed, 20 insertions, 4 deletions
@@ -1,13 +1,15 @@ pkgbase = almond pkgdesc = A scala kernel for Jupyter pkgver = 0.8.1 - pkgrel = 2 + pkgrel = 3 url = https://almond.sh/ arch = x86_64 license = BSD depends = jupyter depends = scala source = https://github.com/almond-sh/almond/releases/download/v0.8.1/almond + source = kernel.json + md5sums = SKIP md5sums = SKIP pkgname = almond @@ -1,6 +1,6 @@ # Maintainer: Kilian Guillaume "cafehaine" <kilian dot guillaume at gmail dot com> pkgname=almond -pkgrel=2 +pkgrel=3 pkgver=0.8.1 pkgdesc="A scala kernel for Jupyter" arch=('x86_64') @@ -8,12 +8,13 @@ url="https://almond.sh/" license=('BSD') depends=('jupyter' 'scala') makedepends=() -source=("https://github.com/almond-sh/almond/releases/download/v0.8.1/almond") -md5sums=('SKIP') +source=("https://github.com/almond-sh/almond/releases/download/v0.8.1/almond" "kernel.json") +md5sums=('SKIP' 'SKIP') package() { cd "$srcdir" chmod +x ../almond COURSIER_CACHE=$(pwd)/.coursier-cache ./almond --install --jupyter-path "$pkgdir/usr/share/jupyter/kernels/" + install -Dm644 kernel.json -t "$pkgdir/usr/share/jupyter/kernels/scala/" } diff --git a/kernel.json b/kernel.json new file mode 100644 index 000000000000..687b8e64a063 --- /dev/null +++ b/kernel.json @@ -0,0 +1,13 @@ +{ + "language" : "scala", + "display_name" : "Scala", + "argv" : [ + "java", + "-jar", + "/usr/share/jupyter/kernels/scala/launcher.jar", + "--jupyter-path", + "/usr/share/jupyter/kernels/", + "--connection-file", + "{connection_file}" + ] +} |