[arch-commits] Commit in ammonite/repos/community-any (PKGBUILD PKGBUILD)
Felix Yan
felixonmars at gemini.archlinux.org
Sat Nov 13 16:25:41 UTC 2021
Date: Saturday, November 13, 2021 @ 16:25:41
Author: felixonmars
Revision: 1045612
archrelease: copy trunk to community-any
Added:
ammonite/repos/community-any/PKGBUILD
(from rev 1045611, ammonite/trunk/PKGBUILD)
Deleted:
ammonite/repos/community-any/PKGBUILD
----------+
PKGBUILD | 70 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 35 insertions(+), 35 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2021-11-13 16:25:35 UTC (rev 1045611)
+++ PKGBUILD 2021-11-13 16:25:41 UTC (rev 1045612)
@@ -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.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/
-}
Copied: ammonite/repos/community-any/PKGBUILD (from rev 1045611, ammonite/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2021-11-13 16:25:41 UTC (rev 1045612)
@@ -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.1
+_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=('3c8bf36e835dbc8b49c933bfbe5e484fa9ff76a4bfa084217fa1777ce8ea0e582795ef3a376327ea6e81b137cb90f4b04a067a5379ea786d441c5a6e5d4def96')
+
+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