[arch-commits] Commit in gradle/repos/community-any (4 files)
Levente Polyak
anthraxx at archlinux.org
Sun Mar 1 18:16:08 UTC 2020
Date: Sunday, March 1, 2020 @ 18:16:07
Author: anthraxx
Revision: 587892
archrelease: copy trunk to community-any
Added:
gradle/repos/community-any/PKGBUILD
(from rev 587891, gradle/trunk/PKGBUILD)
gradle/repos/community-any/gradle.sh
(from rev 587891, gradle/trunk/gradle.sh)
Deleted:
gradle/repos/community-any/PKGBUILD
gradle/repos/community-any/gradle.sh
-----------+
PKGBUILD | 158 ++++++++++++++++++++++++++++++------------------------------
gradle.sh | 4 -
2 files changed, 81 insertions(+), 81 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2020-03-01 18:16:01 UTC (rev 587891)
+++ PKGBUILD 2020-03-01 18:16:07 UTC (rev 587892)
@@ -1,79 +0,0 @@
-# Maintainer: Levente Polyak <anthraxx[at]archlinux[dot]org>
-# Contributor: Simon Legner <Simon.Legner at gmail.com>
-# Contributor: Chris Molozian (novabyte) <chris DOT molozian AT gmail DOT com>
-# Contributor: Sanjuro Makabe (itti) <vuck AT gmx DOT de>
-
-pkgbase=gradle
-pkgname=('gradle' 'gradle-doc' 'gradle-src')
-pkgver=6.1.1
-pkgrel=1
-pkgdesc='Powerful build system for the JVM'
-url='https://gradle.org/'
-arch=('any')
-license=('Apache')
-depends=('java-environment=11' 'bash')
-makedepends=('git' 'gradle' 'asciidoc' 'xmlto' 'kotlin' 'groovy' 'java-environment=11')
-source=(https://services.gradle.org/distributions/${pkgbase}-${pkgver}-src.zip
- ${pkgbase}.sh)
-sha256sums=('ed3f64c7d909ba3c1ce07691538fbbcd8ad95bf7078249b58b4eeae2894a7ed3'
- '6f3472486278252417af49196847ba465b56819d286658fcdf918687f89ee032')
-sha512sums=('cd6f6af999483f9d74cda929f3b100fdeded05acb45a27d696766dca4329b5591f87681a568790e9890799d65d133dc64e79ac2f17d3c519f417233d4aed902f'
- 'a50b6cf8281b56b80f55a20ac9316e1eed6887da1d191ad575dec140c9819711644d7077c4dc693b8cb0f1b08ceba0033ba88b5ad138d33ffb73b786c0d4bf81')
-
-build() {
- cd ${pkgbase}-${pkgver}
- # requires java language level 6, which 13 has dropped
- export PATH="/usr/lib/jvm/java-11-openjdk/bin:${PATH}"
- ./gradlew installAll \
- -PfinalRelease=true \
- -Pgradle_installPath="$(pwd)/dist"
-}
-
-package_gradle() {
- cd ${pkgbase}-${pkgver}/dist
-
- # install profile.d script
- install -Dm 755 "${srcdir}/${pkgbase}.sh" "${pkgdir}/etc/profile.d/${pkgbase}.sh"
-
- # create the necessary directory structure
- install -d "${pkgdir}/usr/share/java/${pkgname}/bin"
- install -d "${pkgdir}/usr/share/java/${pkgname}/lib/plugins"
- install -d "${pkgdir}/usr/share/java/${pkgname}/init.d"
- install -d "${pkgdir}/usr/bin"
-
- # copy across jar files
- install -Dm 644 lib/*.jar "${pkgdir}/usr/share/java/${pkgname}/lib"
- install -Dm 644 lib/plugins/*.jar "${pkgdir}/usr/share/java/${pkgname}/lib/plugins"
-
- # copy across supporting text documentation and scripts
- install -m 644 NOTICE "${pkgdir}/usr/share/java/${pkgname}"
- install -m 755 bin/gradle "${pkgdir}/usr/share/java/${pkgname}/bin"
- install -m 644 init.d/*.* "${pkgdir}/usr/share/java/${pkgname}/init.d"
-
- # link gradle script to /usr/bin
- ln -s /usr/share/java/${pkgname}/bin/${pkgname} "${pkgdir}/usr/bin"
-}
-
-package_gradle-doc() {
- pkgdesc='Powerful build system for the JVM (documentation)'
- options=('!strip')
- optdepends=('gradle')
-
- cd ${pkgbase}-${pkgver}/dist
-
- # copy across documentation
- install -d "${pkgdir}/usr/share/java/gradle/docs"
- cp -r docs/* "${pkgdir}/usr/share/java/gradle/docs"
-}
-
-package_gradle-src() {
- pkgdesc='Powerful build system for the JVM (sources)'
- options=('!strip')
- optdepends=('gradle')
-
- cd ${pkgbase}-${pkgver}/dist
- install -d "${pkgdir}/usr/share/java/gradle/src"
- cp -r src/* "${pkgdir}/usr/share/java/gradle/src"
-}
-
-# vim: ts=2 sw=2 et:
Copied: gradle/repos/community-any/PKGBUILD (from rev 587891, gradle/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2020-03-01 18:16:07 UTC (rev 587892)
@@ -0,0 +1,79 @@
+# Maintainer: Levente Polyak <anthraxx[at]archlinux[dot]org>
+# Contributor: Simon Legner <Simon.Legner at gmail.com>
+# Contributor: Chris Molozian (novabyte) <chris DOT molozian AT gmail DOT com>
+# Contributor: Sanjuro Makabe (itti) <vuck AT gmx DOT de>
+
+pkgbase=gradle
+pkgname=('gradle' 'gradle-doc' 'gradle-src')
+pkgver=6.2.1
+pkgrel=1
+pkgdesc='Powerful build system for the JVM'
+url='https://gradle.org/'
+arch=('any')
+license=('Apache')
+depends=('java-environment' 'bash')
+makedepends=('git' 'gradle' 'asciidoc' 'xmlto' 'kotlin' 'groovy' 'java-environment=11')
+source=(https://services.gradle.org/distributions/${pkgbase}-${pkgver}-src.zip
+ ${pkgbase}.sh)
+sha256sums=('9c4d619ce99c07bb27c9576e6db5a6665b1b860a0c1b398a58fc6134baadf0e8'
+ '6f3472486278252417af49196847ba465b56819d286658fcdf918687f89ee032')
+sha512sums=('bdd895e3f62f8e4abe3126898382aa41806b08b2de9cc9d5338b1cdada48740ddac11687c6810602b753b5658f1a3d92d253e43a144ed902da0b42dfec49364b'
+ 'a50b6cf8281b56b80f55a20ac9316e1eed6887da1d191ad575dec140c9819711644d7077c4dc693b8cb0f1b08ceba0033ba88b5ad138d33ffb73b786c0d4bf81')
+
+build() {
+ cd ${pkgbase}-${pkgver}
+ # requires java language level 6, which 13 has dropped
+ export PATH="/usr/lib/jvm/java-11-openjdk/bin:${PATH}"
+ ./gradlew installAll \
+ -PfinalRelease=true \
+ -Pgradle_installPath="$(pwd)/dist"
+}
+
+package_gradle() {
+ cd ${pkgbase}-${pkgver}/dist
+
+ # install profile.d script
+ install -Dm 755 "${srcdir}/${pkgbase}.sh" "${pkgdir}/etc/profile.d/${pkgbase}.sh"
+
+ # create the necessary directory structure
+ install -d "${pkgdir}/usr/share/java/${pkgname}/bin"
+ install -d "${pkgdir}/usr/share/java/${pkgname}/lib/plugins"
+ install -d "${pkgdir}/usr/share/java/${pkgname}/init.d"
+ install -d "${pkgdir}/usr/bin"
+
+ # copy across jar files
+ install -Dm 644 lib/*.jar "${pkgdir}/usr/share/java/${pkgname}/lib"
+ install -Dm 644 lib/plugins/*.jar "${pkgdir}/usr/share/java/${pkgname}/lib/plugins"
+
+ # copy across supporting text documentation and scripts
+ install -m 644 NOTICE "${pkgdir}/usr/share/java/${pkgname}"
+ install -m 755 bin/gradle "${pkgdir}/usr/share/java/${pkgname}/bin"
+ install -m 644 init.d/*.* "${pkgdir}/usr/share/java/${pkgname}/init.d"
+
+ # link gradle script to /usr/bin
+ ln -s /usr/share/java/${pkgname}/bin/${pkgname} "${pkgdir}/usr/bin"
+}
+
+package_gradle-doc() {
+ pkgdesc='Powerful build system for the JVM (documentation)'
+ options=('!strip')
+ optdepends=('gradle')
+
+ cd ${pkgbase}-${pkgver}/dist
+
+ # copy across documentation
+ install -d "${pkgdir}/usr/share/java/gradle/docs"
+ cp -r docs/* "${pkgdir}/usr/share/java/gradle/docs"
+}
+
+package_gradle-src() {
+ pkgdesc='Powerful build system for the JVM (sources)'
+ options=('!strip')
+ optdepends=('gradle')
+
+ cd ${pkgbase}-${pkgver}/dist
+ install -d "${pkgdir}/usr/share/java/gradle/src"
+ cp -r src/* "${pkgdir}/usr/share/java/gradle/src"
+}
+
+# vim: ts=2 sw=2 et:
Deleted: gradle.sh
===================================================================
--- gradle.sh 2020-03-01 18:16:01 UTC (rev 587891)
+++ gradle.sh 2020-03-01 18:16:07 UTC (rev 587892)
@@ -1,2 +0,0 @@
-#!/bin/sh
-export GRADLE_HOME=/usr/share/java/gradle
Copied: gradle/repos/community-any/gradle.sh (from rev 587891, gradle/trunk/gradle.sh)
===================================================================
--- gradle.sh (rev 0)
+++ gradle.sh 2020-03-01 18:16:07 UTC (rev 587892)
@@ -0,0 +1,2 @@
+#!/bin/sh
+export GRADLE_HOME=/usr/share/java/gradle
More information about the arch-commits
mailing list