Date: Saturday, February 6, 2016 @ 23:20:13 Author: anthraxx Revision: 160488
archrelease: copy trunk to community-any Added: grails/repos/community-any/PKGBUILD (from rev 160487, grails/trunk/PKGBUILD) Deleted: grails/repos/community-any/PKGBUILD ----------+ PKGBUILD | 118 ++++++++++++++++++++++++++++++------------------------------- 1 file changed, 59 insertions(+), 59 deletions(-) Deleted: PKGBUILD =================================================================== --- PKGBUILD 2016-02-06 22:20:05 UTC (rev 160487) +++ PKGBUILD 2016-02-06 22:20:13 UTC (rev 160488) @@ -1,59 +0,0 @@ -# Maintainer: Levente Polyak <anthraxx[at]archlinux[dot]org> -# Contributor: Alexander Rødseth <rods...@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: Copied: grails/repos/community-any/PKGBUILD (from rev 160487, grails/trunk/PKGBUILD) =================================================================== --- PKGBUILD (rev 0) +++ PKGBUILD 2016-02-06 22:20:13 UTC (rev 160488) @@ -0,0 +1,59 @@ +# Maintainer: Levente Polyak <anthraxx[at]archlinux[dot]org> +# Contributor: Alexander Rødseth <rods...@gmail.com> + +pkgbase=grails +pkgname=('grails' 'grails-docs') +pkgver=3.1.1 +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=('cb2f46af30842b4edcdf3b604afc0c90bfea0462381fbe6e106434956effc4eaa93963cc7e10bb624712c8ae3968ecd723223d3ebbb7826bd7e72fde6076eade' + 'e72f686c54ee58d222e7e89660c92531e75e89cd2ca6d29ca450e78ef7d9f5c0fb8ffcb1aa441128c681dfdc786272f755aea7efb9fc7df15f93a0370a49fdad') + +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: