[arch-commits] Commit in ammonite/repos/community-any (PKGBUILD PKGBUILD)
Felix Yan
felixonmars at archlinux.org
Fri Nov 27 17:18:07 UTC 2020
Date: Friday, November 27, 2020 @ 17:18:07
Author: felixonmars
Revision: 764450
archrelease: copy trunk to community-any
Added:
ammonite/repos/community-any/PKGBUILD
(from rev 764449, ammonite/trunk/PKGBUILD)
Deleted:
ammonite/repos/community-any/PKGBUILD
----------+
PKGBUILD | 70 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 35 insertions(+), 35 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2020-11-27 17:17:56 UTC (rev 764449)
+++ PKGBUILD 2020-11-27 17:18:07 UTC (rev 764450)
@@ -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.4
-_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=('33013a2e7cd3e831c19925b4c487eaaa137b77155a6f8f981a62cd09a601096e13e13af4167764372ebc91011ddc2ba019294057444c35141ca54358b9069779')
-
-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 764449, ammonite/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2020-11-27 17:18:07 UTC (rev 764450)
@@ -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.5
+_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=('ed1fc3f136fd06334411bbd8bc99a6c1329fd232f0624c947de71a822f7e522c462c5a5e88bf686bf4399cb46632a735359b8e7a77dd4c689b73a1c5ab7af18b')
+
+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