[arch-commits] Commit in gradle/repos/community-any (4 files)
Levente Polyak
anthraxx at archlinux.org
Mon Sep 14 23:30:58 UTC 2015
Date: Tuesday, September 15, 2015 @ 01:30:57
Author: anthraxx
Revision: 140106
archrelease: copy trunk to community-any
Added:
gradle/repos/community-any/PKGBUILD
(from rev 140105, gradle/trunk/PKGBUILD)
gradle/repos/community-any/gradle.sh
(from rev 140105, gradle/trunk/gradle.sh)
Deleted:
gradle/repos/community-any/PKGBUILD
gradle/repos/community-any/gradle.sh
-----------+
PKGBUILD | 148 ++++++++++++++++++++++++++++++------------------------------
gradle.sh | 4 -
2 files changed, 76 insertions(+), 76 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2015-09-14 23:30:51 UTC (rev 140105)
+++ PKGBUILD 2015-09-14 23:30:57 UTC (rev 140106)
@@ -1,74 +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=2.6
-pkgrel=2
-pkgdesc=('A powerful build system for the JVM')
-url='https://gradle.org/'
-arch=('any')
-license=('Apache')
-depends=('java-environment')
-source=(https://services.gradle.org/distributions/${pkgbase}-${pkgver}-all.zip
- ${pkgbase}.sh)
-sha512sums=('29ec0ba12d5ac0658e7925ad760b25462384d7bfcb249638b42a0ff608b88aa9d7ec04c5e590d4c368c7ed8529b6d6a07dde552c2ae6dda7e33578a16cd4d41b'
- 'f38e9b26e22948366acf6580d6f38e2c88c3791c425b24922368fe1bc78c744fa516a03ffdbef02e3755859da620a6259997d4b4e5f97e3dc8cb49b74a694616')
-
-package_gradle() {
- cd ${pkgbase}-${pkgver}
-
- # 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 644 LICENSE "${pkgdir}/usr/share/java/${pkgname}"
- install -m 644 *.txt "${pkgdir}/usr/share/java/${pkgname}"
- install -m 644 *.html "${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=('A powerful build system for the JVM (documentation and samples)')
- options=('!strip')
- optdepends=('gradle')
-
- cd ${pkgbase}-${pkgver}
-
- # create the necessary directory structure
- install -d "${pkgdir}/usr/share/java/gradle/docs/"
- install -d "${pkgdir}/usr/share/java/gradle/samples/"
-
- # copy across documentation and samples
- cp -r docs/* "${pkgdir}/usr/share/java/gradle/docs/"
- cp -r samples/* "${pkgdir}/usr/share/java/gradle/samples/"
-}
-
-package_gradle-src() {
- pkgdesc=('A powerful build system for the JVM (sources)')
- options=('!strip')
- optdepends=('gradle')
-
- cd ${pkgbase}-${pkgver}
- 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 140105, gradle/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2015-09-14 23:30:57 UTC (rev 140106)
@@ -0,0 +1,74 @@
+# 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=2.7
+pkgrel=1
+pkgdesc=('A powerful build system for the JVM')
+url='https://gradle.org/'
+arch=('any')
+license=('Apache')
+depends=('java-environment' 'bash')
+source=(https://services.gradle.org/distributions/${pkgbase}-${pkgver}-all.zip
+ ${pkgbase}.sh)
+sha512sums=('89d2ec75d94b7e341dfd6b41813174ea08b12d097a4b58ecf31f56feea3335d52b897d3d03df7876b5b6182e09bbb215906d958531e60026bfd72541adc48ed7'
+ 'f38e9b26e22948366acf6580d6f38e2c88c3791c425b24922368fe1bc78c744fa516a03ffdbef02e3755859da620a6259997d4b4e5f97e3dc8cb49b74a694616')
+
+package_gradle() {
+ cd ${pkgbase}-${pkgver}
+
+ # 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 644 LICENSE "${pkgdir}/usr/share/java/${pkgname}"
+ install -m 644 *.txt "${pkgdir}/usr/share/java/${pkgname}"
+ install -m 644 *.html "${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=('A powerful build system for the JVM (documentation and samples)')
+ options=('!strip')
+ optdepends=('gradle')
+
+ cd ${pkgbase}-${pkgver}
+
+ # create the necessary directory structure
+ install -d "${pkgdir}/usr/share/java/gradle/docs/"
+ install -d "${pkgdir}/usr/share/java/gradle/samples/"
+
+ # copy across documentation and samples
+ cp -r docs/* "${pkgdir}/usr/share/java/gradle/docs/"
+ cp -r samples/* "${pkgdir}/usr/share/java/gradle/samples/"
+}
+
+package_gradle-src() {
+ pkgdesc=('A powerful build system for the JVM (sources)')
+ options=('!strip')
+ optdepends=('gradle')
+
+ cd ${pkgbase}-${pkgver}
+ 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 2015-09-14 23:30:51 UTC (rev 140105)
+++ gradle.sh 2015-09-14 23:30:57 UTC (rev 140106)
@@ -1,2 +0,0 @@
-#!/usr/bin/env sh
-export GRADLE_HOME=/usr/share/java/gradle
Copied: gradle/repos/community-any/gradle.sh (from rev 140105, gradle/trunk/gradle.sh)
===================================================================
--- gradle.sh (rev 0)
+++ gradle.sh 2015-09-14 23:30:57 UTC (rev 140106)
@@ -0,0 +1,2 @@
+#!/usr/bin/env sh
+export GRADLE_HOME=/usr/share/java/gradle
More information about the arch-commits
mailing list