[arch-commits] Commit in mill/repos (community-any community-any/PKGBUILD)

Felix Yan felixonmars at archlinux.org
Wed Jun 26 18:48:16 UTC 2019


    Date: Wednesday, June 26, 2019 @ 18:48:16
  Author: felixonmars
Revision: 484602

archrelease: copy trunk to community-any

Added:
  mill/repos/community-any/
  mill/repos/community-any/PKGBUILD
    (from rev 484601, mill/trunk/PKGBUILD)

----------+
 PKGBUILD |   33 +++++++++++++++++++++++++++++++++
 1 file changed, 33 insertions(+)

Copied: mill/repos/community-any/PKGBUILD (from rev 484601, mill/trunk/PKGBUILD)
===================================================================
--- community-any/PKGBUILD	                        (rev 0)
+++ community-any/PKGBUILD	2019-06-26 18:48:16 UTC (rev 484602)
@@ -0,0 +1,33 @@
+# 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.4.1
+pkgrel=1
+pkgdesc="Your shiny new Java/Scala build tool"
+arch=(any)
+url="http://www.lihaoyi.com/mill/index.html"
+license=('MIT')
+depends=('bash' 'java-environment')
+makedepends=('mill' 'scala')
+source=("$pkgname-$pkgver.tar.gz::https://github.com/lihaoyi/mill/archive/$pkgver.tar.gz")
+sha512sums=('SKIP')
+
+prepare() {
+  cd mill-$pkgver
+  # workaround non-git build
+  sed -e "s/'git/'true/" -e "s/^.*--exact-match.*$/\"$pkgver\"/" -i build.sc
+}
+
+build() {
+  cd mill-$pkgver
+  mill -i all __.publishLocal release
+}
+
+package() {
+  cd mill-$pkgver
+  install -Dm755 out/release/dest/mill "$pkgdir"/usr/bin/mill
+  install -Dm644 LICENSE "$pkgdir"/usr/share/licenses/mill/LICENSE
+}



More information about the arch-commits mailing list