[arch-commits] Commit in ammonite/repos/community-any (PKGBUILD PKGBUILD)
Felix Yan
felixonmars at archlinux.org
Wed Nov 25 18:27:31 UTC 2020
Date: Wednesday, November 25, 2020 @ 18:27:31
Author: felixonmars
Revision: 761182
archrelease: copy trunk to community-any
Added:
ammonite/repos/community-any/PKGBUILD
(from rev 761181, ammonite/trunk/PKGBUILD)
Deleted:
ammonite/repos/community-any/PKGBUILD
----------+
PKGBUILD | 70 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 35 insertions(+), 35 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2020-11-25 18:27:22 UTC (rev 761181)
+++ PKGBUILD 2020-11-25 18:27:31 UTC (rev 761182)
@@ -1,35 +0,0 @@
-# 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.2.0
-_scalaversion=2.13.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')
-depends=('bash' 'java-environment')
-makedepends=('mill')
-source=("https://github.com/lihaoyi/Ammonite/archive/$pkgver/$pkgname-$pkgver.tar.gz")
-b2sums=('15d84e20f955b170303afb89080d141ba5c3f3c51e2a886d04b1b7533f39d56d2f90b74cff69f380c6ee11ac908cc2783e98ad1ddef253969ee10242696d2591')
-
-prepare() {
- cd Ammonite-$pkgver
- sed -i "s/'git/'true/;s/^ \\.toInt$//" build.sc
-}
-
-build() {
- cd Ammonite-$pkgver
- TRAVIS_TAG=$pkgver mill -i amm[$_scalaversion].assembly
-}
-
-package() {
- cd Ammonite-$pkgver
- install -dm755 "$pkgdir"/usr/bin
- (echo "#!/bin/sh"; cat out/amm/$_scalaversion/assembly/dest/out.jar) > "$pkgdir"/usr/bin/amm
- chmod +x "$pkgdir"/usr/bin/amm
- install -Dm644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname/
-}
Copied: ammonite/repos/community-any/PKGBUILD (from rev 761181, ammonite/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2020-11-25 18:27:31 UTC (rev 761182)
@@ -0,0 +1,35 @@
+# 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.3.0
+_scalaversion=2.13.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')
+depends=('bash' 'java-environment')
+makedepends=('mill')
+source=("https://github.com/lihaoyi/Ammonite/archive/$pkgver/$pkgname-$pkgver.tar.gz")
+b2sums=('9e4e49dd956f08cc79f52540ac01f7af87bc248a0a2932a07b4163e1195e3914dca2e748758b4e964fc2c61cfd3e6be6725654f5935b32ed2d8f5afe1c1e0d01')
+
+prepare() {
+ cd Ammonite-$pkgver
+ sed -i "s/'git/'true/;s/\"git\"/\"true\"/;s/\$gitHash/unknown/;s/^ \\.toInt$//" build.sc
+}
+
+build() {
+ cd Ammonite-$pkgver
+ TRAVIS_TAG=$pkgver mill -i amm[$_scalaversion].assembly
+}
+
+package() {
+ cd Ammonite-$pkgver
+ install -dm755 "$pkgdir"/usr/bin
+ (echo "#!/bin/sh"; cat out/amm/$_scalaversion/assembly/dest/out.jar) > "$pkgdir"/usr/bin/amm
+ chmod +x "$pkgdir"/usr/bin/amm
+ install -Dm644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname/
+}
More information about the arch-commits
mailing list