[arch-commits] Commit in mill/repos/community-any (PKGBUILD PKGBUILD)
Felix Yan
felixonmars at gemini.archlinux.org
Tue Jan 18 11:29:02 UTC 2022
Date: Tuesday, January 18, 2022 @ 11:29:02
Author: felixonmars
Revision: 1108557
archrelease: copy trunk to community-any
Added:
mill/repos/community-any/PKGBUILD
(from rev 1108556, mill/trunk/PKGBUILD)
Deleted:
mill/repos/community-any/PKGBUILD
----------+
PKGBUILD | 69 +++++++++++++++++++++++++++++++------------------------------
1 file changed, 36 insertions(+), 33 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2022-01-18 11:28:53 UTC (rev 1108556)
+++ PKGBUILD 2022-01-18 11:29:02 UTC (rev 1108557)
@@ -1,33 +0,0 @@
-# Maintainer: Felix Yan <felixonmars at archlinux.org>
-# Contributor: Jiuyang Liu <liujiuyang1994 at gmail.com>
-# Contributor: Christian Krause ("wookietreiber") <christian.krause at mailbox.org>
-# Contributor: Guillaume Raffin ("theelectronwill") <theelectronwill at gmail.com>
-
-pkgname=mill
-pkgver=0.9.12
-pkgrel=1
-pkgdesc="Your shiny new Java/Scala build tool"
-arch=(any)
-url="https://www.lihaoyi.com/mill/index.html"
-license=('MIT')
-depends=('bash' 'java-environment')
-makedepends=('mill')
-source=("$pkgname-$pkgver.tar.gz::https://github.com/lihaoyi/mill/archive/$pkgver.tar.gz")
-sha512sums=('40e96fdabab49e530b9710bebc12f2aecc5b3d17dea86f03f13545e2e298cefd5bf0c34965e6db85f5b215afc65486edfe967854ab838240188e7f2729782a40')
-
-prepare() {
- cd mill-$pkgver
- # workaround non-git build
- sed -e "s/VcsVersion.vcsState().format()/\"$pkgver\"/;s/VcsVersion.vcsState().lastTag.get/\"$pkgver\"/" -i build.sc
-}
-
-build() {
- cd mill-$pkgver
- mill -i all __.publishLocal assembly
-}
-
-package() {
- cd mill-$pkgver
- install -Dm755 out/assembly/dest/mill "$pkgdir"/usr/bin/mill
- install -Dm644 LICENSE "$pkgdir"/usr/share/licenses/mill/LICENSE
-}
Copied: mill/repos/community-any/PKGBUILD (from rev 1108556, mill/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2022-01-18 11:29:02 UTC (rev 1108557)
@@ -0,0 +1,36 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Contributor: Jiuyang Liu <liujiuyang1994 at gmail.com>
+# Contributor: Christian Krause ("wookietreiber") <christian.krause at mailbox.org>
+# Contributor: Guillaume Raffin ("theelectronwill") <theelectronwill at gmail.com>
+
+pkgname=mill
+pkgver=0.10.0
+pkgrel=1
+pkgdesc="Your shiny new Java/Scala build tool"
+arch=(any)
+url="https://www.lihaoyi.com/mill/index.html"
+license=('MIT')
+depends=('bash' 'java-environment')
+makedepends=('mill')
+source=("$pkgname-$pkgver.tar.gz::https://github.com/lihaoyi/mill/archive/$pkgver.tar.gz")
+sha512sums=('4899f50e8d94faa4b8a179b55e699fa4627d5052757ee6b7e17beeb583b203065465c3919efaa058b40c4354bc0357b212aaa67fea3edcfaceb4f00f9164f94c')
+
+prepare() {
+ cd mill-$pkgver
+ # workaround non-git build
+ 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() {
+ cd mill-$pkgver
+ mill -i all __.publishLocal assembly
+}
+
+package() {
+ cd mill-$pkgver
+ 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