[arch-commits] Commit in grails/repos/community-any (PKGBUILD PKGBUILD grails.sh)

Alexander Rødseth arodseth at archlinux.org
Fri Sep 18 22:26:31 UTC 2015


    Date: Saturday, September 19, 2015 @ 00:26:31
  Author: arodseth
Revision: 140663

archrelease: copy trunk to community-any

Added:
  grails/repos/community-any/PKGBUILD
    (from rev 140662, grails/trunk/PKGBUILD)
Deleted:
  grails/repos/community-any/PKGBUILD
  grails/repos/community-any/grails.sh

-----------+
 PKGBUILD  |  125 +++++++++++++++++++++++++++---------------------------------
 grails.sh |    5 --
 2 files changed, 58 insertions(+), 72 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2015-09-18 22:26:20 UTC (rev 140662)
+++ PKGBUILD	2015-09-18 22:26:31 UTC (rev 140663)
@@ -1,67 +0,0 @@
-# $Id$
-# Maintainer: Alexander Rødseth <rodseth at gmail.com>
-
-pkgbase=grails
-pkgname=('grails' 'grails-docs')
-pkgver=2.4.4
-pkgrel=1
-pkgdesc='Groovy on rails, web framework'
-arch=('any')
-url='http://grails.org/'
-license=('APACHE')
-makedepends=('apache-ant' 'unzip')
-optdepends=('groovy: the groovy programming language'
-            'grails-docs: documentation for grails')
-options=('!emptydirs')
-noextract=("${pkgname[1]}-$pkgver.zip")
-source=("http://dist.springframework.org.s3.amazonaws.com/release/GRAILS/${pkgname[0]}-$pkgver.zip"
-        "http://dist.springframework.org.s3.amazonaws.com/release/GRAILS/${pkgname[1]}-$pkgver.zip"
-        "$pkgbase.sh")
-sha256sums=('2310e6c0ecb4ba05c51c426893218252b7ec451a16bfb445f4b6d96f8bd3cc77'
-            'a2278d39ec8e88bf6c3e6ea2e24bec457ee5617579a3e12731444597f27e4176'
-            '15553ae56fd39f049edfa65a05413ef6d68ae37ed1ccc69570bf81e888239bf4')
-
-prepare() {
-  cd "${pkgname[0]}-$pkgver"
-
-  # profile.d script
-  echo 'export GRAILS_HOME=/usr/share/grails' > "$srcdir/$pkgbase.profile"
-}
-
-package_grails() {
-  depends=('java-environment' 'junit' 'bash')
-
-  cd "$pkgname-$pkgver"
-
-  install -d "$pkgdir/usr/share/pixmaps/"
-  cp -r "$srcdir/$pkgname-$pkgver" "$pkgdir/usr/share/$pkgname"
-
-  # wrapper scripts
-  install -Dm755 bin/startGrails \
-    "$pkgdir/usr/share/$pkgname/startGrails"
-  install -Dm755 "../$pkgname.sh" \
-    "$pkgdir/usr/bin/$pkgname"
-  install -Dm755 "../$pkgname.sh" \
-    "$pkgdir/usr/share/$pkgname/bin/$pkgname"
-
-  # icons
-  cp media/icons/*.png "$pkgdir/usr/share/pixmaps/"
-  
-  # profile.d script
-  install -Dm755 "$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:set ts=2 sw=2 et:

Copied: grails/repos/community-any/PKGBUILD (from rev 140662, grails/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2015-09-18 22:26:31 UTC (rev 140663)
@@ -0,0 +1,58 @@
+# $Id$
+# Maintainer: Alexander Rødseth <rodseth at gmail.com>
+
+pkgbase=grails
+pkgname=('grails' 'grails-docs')
+pkgver=3.0.7
+pkgrel=1
+pkgdesc='Groovy on rails, web framework'
+arch=('any')
+url='http://grails.org/'
+license=('APACHE')
+makedepends=('apache-ant' 'unzip' 'setconf')
+optdepends=('groovy: the groovy programming language'
+            'grails-docs: documentation for grails')
+options=('!emptydirs')
+noextract=("${pkgname[1]}-$pkgver.zip")
+source=("https://github.com/grails/grails-core/releases/download/v$pkgver/grails-$pkgver.zip"
+        "https://github.com/grails/grails-doc/releases/download/v$pkgver/grails-docs-$pkgver.zip")
+sha256sums=('d99b11e4a8fb1f5a155f1784f482316df96e63d094d5d083a62bc37905380800'
+            '328b0179e43fbf2723cf9f7b2d2208289d5c1a39d0eeee7ab0c55b85febce2b8')
+
+prepare() {
+  cd "${pkgname[0]}-$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 "$srcdir/$pkgname-$pkgver" "$pkgdir/usr/share/$pkgname"
+  install -Dm755 bin/grails "$pkgdir/usr/bin/grails"
+  cp media/icons/*.png "$pkgdir/usr/share/pixmaps/"
+  install -Dm755 "$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"
+}
+
+# getver: https://grails.org/download.html
+# vim:set ts=2 sw=2 et:

Deleted: grails.sh
===================================================================
--- grails.sh	2015-09-18 22:26:20 UTC (rev 140662)
+++ grails.sh	2015-09-18 22:26:31 UTC (rev 140663)
@@ -1,5 +0,0 @@
-#!/bin/sh
-[[ -f $GRAILS_HOME/startGrails ]] || GRAILS_HOME=/usr/share/grails
-DIRNAME=$GRAILS_HOME
-. "$DIRNAME/startGrails"
-startGrails org.codehaus.groovy.grails.cli.GrailsScriptRunner "$@"



More information about the arch-commits mailing list