[arch-commits] Commit in ammonite/repos (community-any community-any/PKGBUILD)

Felix Yan felixonmars at archlinux.org
Wed May 13 19:14:57 UTC 2020


    Date: Wednesday, May 13, 2020 @ 19:14:57
  Author: felixonmars
Revision: 627748

archrelease: copy trunk to community-any

Added:
  ammonite/repos/community-any/
  ammonite/repos/community-any/PKGBUILD
    (from rev 627747, ammonite/trunk/PKGBUILD)

----------+
 PKGBUILD |   29 +++++++++++++++++++++++++++++
 1 file changed, 29 insertions(+)

Copied: ammonite/repos/community-any/PKGBUILD (from rev 627747, ammonite/trunk/PKGBUILD)
===================================================================
--- community-any/PKGBUILD	                        (rev 0)
+++ community-any/PKGBUILD	2020-05-13 19:14:57 UTC (rev 627748)
@@ -0,0 +1,29 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Contributor: Thayne <astrothayne at gmail dot com>
+# Contributor: Yiqiao Wang <yiqiao.wang96 at gmail dot com>
+# Contributor: wenLiangcan <boxeed at gmail dot com>
+
+pkgname=ammonite
+pkgver=2.1.2
+pkgrel=1
+pkgdesc="A cleanroom re-implementation of the Scala REPL from first principles. "
+arch=('any')
+url="https://github.com/lihaoyi/Ammonite"
+license=('MIT')
+_scalaver=2.13
+depends=('bash' "scala>=${_scalaver}" 'java-environment')
+source=("ammonite-repl-$pkgver"::"https://github.com/lihaoyi/Ammonite/releases/download/$pkgver/${_scalaver}-$pkgver"
+        "https://github.com/lihaoyi/Ammonite/raw/$pkgver/LICENSE")
+noextract=("ammonite-repl-$pkgver")
+b2sums=('d25906a5dbf92f6bdef91f9b2175a012e0589fc610747dc0b2424e670783856fe44b194803e8213c567aaa399ad5ef20a6283de9c672352d13894e65167b7cac'
+        'fc9694ff702a7c919b82c3429911dd0f4bf83ee36e7036bf5d82b62f3a1bc0dfb2bb80313ef89fa80353a7cf202bced4d942de25fdda789258753cd42633752d')
+
+prepare() {
+  echo '#!/bin/sh' > amm
+  cat ammonite-repl-$pkgver >> amm
+}
+
+package() {
+  install -Dm755 amm -t "$pkgdir"/usr/bin/
+  install -Dm644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname/
+}



More information about the arch-commits mailing list