Date: Thursday, November 26, 2020 @ 22:59:00 Author: felixonmars Revision: 763912
archrelease: copy trunk to community-any Added: ammonite/repos/community-any/PKGBUILD (from rev 763911, ammonite/trunk/PKGBUILD) Deleted: ammonite/repos/community-any/PKGBUILD ----------+ PKGBUILD | 70 ++++++++++++++++++++++++++++++------------------------------- 1 file changed, 35 insertions(+), 35 deletions(-) Deleted: PKGBUILD =================================================================== --- PKGBUILD 2020-11-26 22:58:50 UTC (rev 763911) +++ PKGBUILD 2020-11-26 22:59:00 UTC (rev 763912) @@ -1,35 +0,0 @@ -# Maintainer: Felix Yan <felixonm...@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.2 -_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=('424a575d20c8d37659b35857b57390f379e29fd34fa6e35b578f2770cdf357174f5af836ca9ab1add6503cd18b2f62ba1e08c5e46b35074b41b9d9f574624515') - -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/ -} Copied: ammonite/repos/community-any/PKGBUILD (from rev 763911, ammonite/trunk/PKGBUILD) =================================================================== --- PKGBUILD (rev 0) +++ PKGBUILD 2020-11-26 22:59:00 UTC (rev 763912) @@ -0,0 +1,35 @@ +# Maintainer: Felix Yan <felixonm...@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.3 +_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=('419889d3c9076356663ccf147321970641e38dde9cd3a280d99ac1dff2e4598e5542baeb37ca96edf5296531a0b3113bfd07ff75e1b4746c8355caf198a231d0') + +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/ +}