[arch-commits] Commit in grails/repos/community-any (PKGBUILD PKGBUILD)
Levente Polyak
anthraxx at archlinux.org
Mon Feb 1 23:52:56 UTC 2016
Date: Tuesday, February 2, 2016 @ 00:52:56
Author: anthraxx
Revision: 159838
archrelease: copy trunk to community-any
Added:
grails/repos/community-any/PKGBUILD
(from rev 159837, grails/trunk/PKGBUILD)
Deleted:
grails/repos/community-any/PKGBUILD
----------+
PKGBUILD | 118 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 59 insertions(+), 59 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2016-02-01 23:52:47 UTC (rev 159837)
+++ PKGBUILD 2016-02-01 23:52:56 UTC (rev 159838)
@@ -1,59 +0,0 @@
-# Maintainer: Levente Polyak <anthraxx[at]archlinux[dot]org>
-# Contributor: Alexander Rødseth <rodseth at gmail.com>
-
-pkgbase=grails
-pkgname=('grails' 'grails-docs')
-pkgver=3.0.12
-pkgrel=1
-pkgdesc='Groovy on rails, web framework'
-url='http://grails.org/'
-arch=('any')
-license=('Apache')
-makedepends=('apache-ant' 'unzip' 'setconf' 'junit' 'java-environment')
-optdepends=(
- 'groovy: the groovy programming language'
- 'grails-docs: documentation for grails'
-)
-options=('!emptydirs')
-noextract=("${pkgname[1]}-${pkgver}.zip")
-source=(${pkgname[0]}-${pkgver}.zip::https://github.com/grails/grails-core/releases/download/v${pkgver}/grails-${pkgver}.zip
- ${pkgname[1]}-${pkgver}.zip::https://github.com/grails/grails-doc/releases/download/v${pkgver}/grails-docs-${pkgver}.zip)
-sha512sums=('d6a46781dedcca3c481dc804f99994903dd54015dcf741f6f0118d2d3593efc5477962ac2167ae1e4bc5a7bb2979f9d50f3f1ec10e6854d9a76c7f5c46ebb667'
- 'be04809741b267ccdbeec909c5d6615bef8a2a9c83b76756fb686001bd161bd7865f097bdea9ae87b8e04d6e44eb70584bbc39d9a830ebdd336a7814377fa3c2')
-
-prepare() {
- cd ${pkgbase}-${pkgver}
-
- # profile.d script
- echo 'export GRAILS_HOME=/usr/share/grails' > "${srcdir}/${pkgbase}.profile"
-
- # set APP_HOME
- setconf bin/grails APP_HOME /usr/share/grails
-}
-
-package_grails() {
- depends=('java-environment' 'junit' 'bash')
-
- cd ${pkgname}-${pkgver}
-
- install -d "${pkgdir}/usr/share/pixmaps"
- cp -r . "${pkgdir}/usr/share/${pkgname}"
- install -Dm 755 bin/grails "${pkgdir}/usr/bin/grails"
- cp media/icons/*.png "${pkgdir}/usr/share/pixmaps/"
- install -Dm 755 "${srcdir}/${pkgbase}.profile" "${pkgdir}/etc/profile.d/${pkgname}.sh"
-
- # clean up
- cd "${pkgdir}/usr/share/${pkgname}"
- rm -rf doc INSTALL LICENSE README
- find "${pkgdir}/usr/share" -name "*.bat" -exec rm {} \;
-}
-
-package_grails-docs() {
- pkgdesc='Documentation for Grails'
-
- install -d "${pkgdir}/usr/share/doc" "${pkgdir}/usr/share/grails"
- unzip "grails-docs-${pkgver}.zip" -d "${pkgdir}/usr/share/doc/grails-${pkgver}"
- ln -s "/usr/share/doc/grails-${pkgver}" "${pkgdir}/usr/share/grails/doc"
-}
-
-# vim: ts=2 sw=2 et:
Copied: grails/repos/community-any/PKGBUILD (from rev 159837, grails/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2016-02-01 23:52:56 UTC (rev 159838)
@@ -0,0 +1,59 @@
+# Maintainer: Levente Polyak <anthraxx[at]archlinux[dot]org>
+# Contributor: Alexander Rødseth <rodseth at gmail.com>
+
+pkgbase=grails
+pkgname=('grails' 'grails-docs')
+pkgver=3.1.0
+pkgrel=1
+pkgdesc='Groovy on rails, web framework'
+url='http://grails.org/'
+arch=('any')
+license=('Apache')
+makedepends=('apache-ant' 'unzip' 'setconf' 'junit' 'java-environment')
+optdepends=(
+ 'groovy: the groovy programming language'
+ 'grails-docs: documentation for grails'
+)
+options=('!emptydirs')
+noextract=("${pkgname[1]}-${pkgver}.zip")
+source=(${pkgname[0]}-${pkgver}.zip::https://github.com/grails/grails-core/releases/download/v${pkgver}/grails-${pkgver}.zip
+ ${pkgname[1]}-${pkgver}.zip::https://github.com/grails/grails-doc/releases/download/v${pkgver}/grails-docs-${pkgver}.zip)
+sha512sums=('d82bbd073ff662836333f93d1713bcd7fcaba9638f00d570270c7bab0dfba490538e10ebb627bab3b72230c160cf22c9aa4c804e768c7d7ab00447743e75e551'
+ 'b672572ff251ee568b0ac98f0ddd334d116b51e78617b1eb1b4fe1fa7fc949a73a575124648db991d3da64a29562052ad51ea5b021563c67a67180f4c3fb4767')
+
+prepare() {
+ cd ${pkgbase}-${pkgver}
+
+ # profile.d script
+ echo 'export GRAILS_HOME=/usr/share/grails' > "${srcdir}/${pkgbase}.profile"
+
+ # set APP_HOME
+ setconf bin/grails APP_HOME /usr/share/grails
+}
+
+package_grails() {
+ depends=('java-environment' 'junit' 'bash')
+
+ cd ${pkgname}-${pkgver}
+
+ install -d "${pkgdir}/usr/share/pixmaps"
+ cp -r . "${pkgdir}/usr/share/${pkgname}"
+ install -Dm 755 bin/grails "${pkgdir}/usr/bin/grails"
+ cp media/icons/*.png "${pkgdir}/usr/share/pixmaps/"
+ install -Dm 755 "${srcdir}/${pkgbase}.profile" "${pkgdir}/etc/profile.d/${pkgname}.sh"
+
+ # clean up
+ cd "${pkgdir}/usr/share/${pkgname}"
+ rm -rf doc INSTALL LICENSE README
+ find "${pkgdir}/usr/share" -name "*.bat" -exec rm {} \;
+}
+
+package_grails-docs() {
+ pkgdesc='Documentation for Grails'
+
+ install -d "${pkgdir}/usr/share/doc" "${pkgdir}/usr/share/grails"
+ unzip "grails-docs-${pkgver}.zip" -d "${pkgdir}/usr/share/doc/grails-${pkgver}"
+ ln -s "/usr/share/doc/grails-${pkgver}" "${pkgdir}/usr/share/grails/doc"
+}
+
+# vim: ts=2 sw=2 et:
More information about the arch-commits
mailing list