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

Felix Yan felixonmars at gemini.archlinux.org
Tue Jan 18 11:28:53 UTC 2022


    Date: Tuesday, January 18, 2022 @ 11:28:53
  Author: felixonmars
Revision: 1108556

upgpkg: mill 0.10.0-1

Modified:
  mill/trunk/PKGBUILD

----------+
 PKGBUILD |    9 ++++++---
 1 file changed, 6 insertions(+), 3 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2022-01-18 11:28:47 UTC (rev 1108555)
+++ PKGBUILD	2022-01-18 11:28:53 UTC (rev 1108556)
@@ -4,7 +4,7 @@
 # Contributor: Guillaume Raffin ("theelectronwill") <theelectronwill at gmail.com>
 
 pkgname=mill
-pkgver=0.9.12
+pkgver=0.10.0
 pkgrel=1
 pkgdesc="Your shiny new Java/Scala build tool"
 arch=(any)
@@ -13,12 +13,15 @@
 depends=('bash' 'java-environment')
 makedepends=('mill')
 source=("$pkgname-$pkgver.tar.gz::https://github.com/lihaoyi/mill/archive/$pkgver.tar.gz")
-sha512sums=('40e96fdabab49e530b9710bebc12f2aecc5b3d17dea86f03f13545e2e298cefd5bf0c34965e6db85f5b215afc65486edfe967854ab838240188e7f2729782a40')
+sha512sums=('4899f50e8d94faa4b8a179b55e699fa4627d5052757ee6b7e17beeb583b203065465c3919efaa058b40c4354bc0357b212aaa67fea3edcfaceb4f00f9164f94c')
 
 prepare() {
   cd mill-$pkgver
   # workaround non-git build
-  sed -e "s/VcsVersion.vcsState().format()/\"$pkgver\"/;s/VcsVersion.vcsState().lastTag.get/\"$pkgver\"/" -i build.sc
+  sed -e "s/VcsVersion.vcsState().format()/\"$pkgver\"/" \
+      -e 's/VcsVersion.vcsState().lastTag.getOrElse//' \
+      -e "s/sys.error(\"No (last) git tag found. Your git history seems incomplete!\")/\"$pkgver\"/" \
+      -i build.sc
 }
 
 build() {



More information about the arch-commits mailing list