[arch-commits] Commit in grails/repos/community-any (PKGBUILD PKGBUILD)
Levente Polyak
anthraxx at archlinux.org
Fri Apr 22 19:00:28 UTC 2016
Date: Friday, April 22, 2016 @ 21:00:28
Author: anthraxx
Revision: 171607
archrelease: copy trunk to community-any
Added:
grails/repos/community-any/PKGBUILD
(from rev 171606, grails/trunk/PKGBUILD)
Deleted:
grails/repos/community-any/PKGBUILD
----------+
PKGBUILD | 114 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 57 insertions(+), 57 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2016-04-22 19:00:19 UTC (rev 171606)
+++ PKGBUILD 2016-04-22 19:00:28 UTC (rev 171607)
@@ -1,57 +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.1.4
-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=('a89b9fc50b6456f2b2c3ff1df0837d1652f5585bf2559ec983b0ae82dd6635d6907561cff7365c0bd7c10c803abe1670b5e9bd85ac751997fca99a07bc63d429'
- '5007a9eaa7be7ab3ebe143bf50fb34a0c5c9711df44c1c7f81964ea4f4305e0c11a89915d0a0a4276cfa2342895437e06d3f04d570fe64578f0112ee2afd3fa5')
-
-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 171606, grails/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2016-04-22 19:00:28 UTC (rev 171607)
@@ -0,0 +1,57 @@
+# 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.5
+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=('0a79126085103b876bf59c56531af6d407050022e912f260135b2010955882000967785e22999973cf453e947f80444f72fe2d785b7eb09954a49941c7635f6f'
+ '21bb27613f53f49e31c6fe9b78bee70ab1622618a8a70282d1f2ef13797ca5bd7418ce1b65040f28431fb5826ceb5d8002e6a428913d58958a8822e8889ce777')
+
+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