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

Levente Polyak anthraxx at archlinux.org
Sun Sep 27 16:46:06 UTC 2015


    Date: Sunday, September 27, 2015 @ 18:46:06
  Author: anthraxx
Revision: 141708

archrelease: copy trunk to community-any

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

----------+
 PKGBUILD |  117 ++++++++++++++++++++++++++++++-------------------------------
 1 file changed, 59 insertions(+), 58 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2015-09-27 16:45:58 UTC (rev 141707)
+++ PKGBUILD	2015-09-27 16:46:06 UTC (rev 141708)
@@ -1,58 +0,0 @@
-# $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:

Copied: grails/repos/community-any/PKGBUILD (from rev 141707, grails/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2015-09-27 16:46:06 UTC (rev 141708)
@@ -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.0.8
+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=('7837d3c09b5c8e99f2ff220072319815d890c2e27832fb277a7de2c9588ea4be12f97e5f1fcfd1c3c7e3f22009b3cad33e5ebccff37829fe420d405138cf8ec0'
+            'db2325b40f147b369de8833b12c5e249ecc0a567ef20f326f2933df28775fb9643d1734384d41e6f2c16bb83981df6733ef975db7f30139a68a92413628bc9e6')
+
+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