[arch-commits] Commit in ammonite/repos/community-any (PKGBUILD PKGBUILD)
Felix Yan
felixonmars at archlinux.org
Tue Jun 8 14:59:43 UTC 2021
Date: Tuesday, June 8, 2021 @ 14:59:43
Author: felixonmars
Revision: 959667
archrelease: copy trunk to community-any
Added:
ammonite/repos/community-any/PKGBUILD
(from rev 959664, ammonite/trunk/PKGBUILD)
Deleted:
ammonite/repos/community-any/PKGBUILD
----------+
PKGBUILD | 70 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 35 insertions(+), 35 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2021-06-08 14:59:41 UTC (rev 959666)
+++ PKGBUILD 2021-06-08 14:59:43 UTC (rev 959667)
@@ -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.3.8
-_scalaversion=2.13.2
-pkgrel=2
-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=('ba399c87760ff7dbc42a64dbcb3f784ed82745ad1ca0ac7c61e0808504017ef04e507ae083dd9644ea0681ea527ead280dba38eff09118babc5e9138f93048e8')
-
-prepare() {
- cd Ammonite-$pkgver
- sed -i "s/'git/'true/;s/\"git\"/\"true\"/;s/\$latestTaggedVersion-\$commitsSinceTaggedVersion-\$gitHash/$pkgver/;s/^ \\.toInt$//;s/(tagName, false)/(\"$pkgver\", false)/" 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 959664, ammonite/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2021-06-08 14:59:43 UTC (rev 959667)
@@ -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.4.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=('568719f7e8c367a64c1634c96ab58dcaa887a168991d17585343c582a757214db2823bb24eb43aa66055cd071baa35440c5a16a6618d66eec769818a1152ab2c')
+
+prepare() {
+ cd Ammonite-$pkgver
+ sed -i "s/'git/'true/;s/\"git\"/\"true\"/;s/\$latestTaggedVersion-\$commitsSinceTaggedVersion-\$gitHash/$pkgver/;s/^ \\.toInt$//;s/(tagName, false)/(\"$pkgver\", false)/" 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