[arch-commits] Commit in ammonite/repos/community-any (PKGBUILD PKGBUILD)
Felix Yan
felixonmars at archlinux.org
Sun Nov 29 07:25:39 UTC 2020
Date: Sunday, November 29, 2020 @ 07:25:39
Author: felixonmars
Revision: 766225
archrelease: copy trunk to community-any
Added:
ammonite/repos/community-any/PKGBUILD
(from rev 766224, ammonite/trunk/PKGBUILD)
Deleted:
ammonite/repos/community-any/PKGBUILD
----------+
PKGBUILD | 70 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 35 insertions(+), 35 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2020-11-29 07:25:22 UTC (rev 766224)
+++ PKGBUILD 2020-11-29 07:25:39 UTC (rev 766225)
@@ -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.6
-_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=('908e6003eae6b40ff3c550e7c97586dec10918035f6e682ae83adc050144139ba4a5f7662c28cc367d126f3139bce8f7d64c60ca51fb1e17bdba7f020b8cabe7')
-
-prepare() {
- cd Ammonite-$pkgver
- sed -i "s/'git/'true/;s/\"git\"/\"true\"/;s/\$latestTaggedVersion-\$commitsSinceTaggedVersion-\$gitHash/$pkgver/;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 766224, ammonite/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2020-11-29 07:25:39 UTC (rev 766225)
@@ -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.7
+_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=('787ce7cfbdf6e7b6b9d325908b12acbbd2b27f797653bd9331d404a76cba2c8d76b3585263c4fb296379970b59cdb552fe269f90c5eb1bac5e34feeff2a7570a')
+
+prepare() {
+ cd Ammonite-$pkgver
+ sed -i "s/'git/'true/;s/\"git\"/\"true\"/;s/\$latestTaggedVersion-\$commitsSinceTaggedVersion-\$gitHash/$pkgver/;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