[arch-commits] Commit in mill/trunk (PKGBUILD)

Felix Yan felixonmars at archlinux.org
Fri Nov 27 10:44:25 UTC 2020


    Date: Friday, November 27, 2020 @ 10:44:24
  Author: felixonmars
Revision: 764037

upgpkg: mill 0.8.0_11-1

Modified:
  mill/trunk/PKGBUILD

----------+
 PKGBUILD |   13 +++++++------
 1 file changed, 7 insertions(+), 6 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2020-11-27 10:44:02 UTC (rev 764036)
+++ PKGBUILD	2020-11-27 10:44:24 UTC (rev 764037)
@@ -4,7 +4,8 @@
 # Contributor: Guillaume Raffin ("theelectronwill") <theelectronwill at gmail.com>
 
 pkgname=mill
-pkgver=0.8.0
+pkgver=0.8.0_11
+_commit=8cd135ad640b2732462739f6b104df4d3ac7edc1
 pkgrel=1
 pkgdesc="Your shiny new Java/Scala build tool"
 arch=(any)
@@ -12,22 +13,22 @@
 license=('MIT')
 depends=('bash' 'java-environment')
 makedepends=('mill')
-source=("$pkgname-$pkgver.tar.gz::https://github.com/lihaoyi/mill/archive/$pkgver.tar.gz")
-sha512sums=('760b79dfcc9742ec87dfb70588eeb9e17b2dadaee4aaf96bbb6aab34c084061a89ee7c57c321a9c998f666c2c0c867cb2835c81b2b3f31eff8f6e2ae177a460c')
+source=("$pkgname-$_commit.tar.gz::https://github.com/lihaoyi/mill/archive/$_commit.tar.gz")
+sha512sums=('cfb71718aa500dda15f56012872934c2934b70eeb301bafe4c6defa9d1c58bf6ddd5a58eaedee82a8b8064f5f1d536e0fe255623f0f8323a9507b25504884af1')
 
 prepare() {
-  cd mill-$pkgver
+  cd mill-$_commit
   # workaround non-git build
   sed -e "s/'git/'true/" -e "s/^.*--exact-match.*$/\"$pkgver\"/" -i build.sc
 }
 
 build() {
-  cd mill-$pkgver
+  cd mill-$_commit
   mill -i all __.publishLocal assembly
 }
 
 package() {
-  cd mill-$pkgver
+  cd mill-$_commit
   install -Dm755 out/assembly/dest/mill "$pkgdir"/usr/bin/mill
   install -Dm644 LICENSE "$pkgdir"/usr/share/licenses/mill/LICENSE
 }



More information about the arch-commits mailing list