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

Alexander Rødseth arodseth at archlinux.org
Thu Apr 16 13:24:58 UTC 2015


    Date: Thursday, April 16, 2015 @ 15:24:57
  Author: arodseth
Revision: 131475

archrelease: copy trunk to community-any

Added:
  groovy/repos/community-any/PKGBUILD
    (from rev 131474, groovy/trunk/PKGBUILD)
Deleted:
  groovy/repos/community-any/PKGBUILD

----------+
 PKGBUILD |  140 ++++++++++++++++++++++++++++++-------------------------------
 1 file changed, 69 insertions(+), 71 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2015-04-16 13:24:15 UTC (rev 131474)
+++ PKGBUILD	2015-04-16 13:24:57 UTC (rev 131475)
@@ -1,71 +0,0 @@
-# $Id$
-# Maintainer: Alexander Rødseth <rodseth at gmail.com>
-# Contributor: Musikolo <musikoloAThotmailDOTcom>
-# Contributor: Ruben Fonseca <fonseka at gmail.com>
-# Contributor: Andreas W. Hauser <andy-aur at splashground.de>
-
-pkgname=groovy
-pkgver=2.4.2
-pkgrel=1
-pkgdesc='Programming language based on Java, inspired by Python, Ruby and Smalltalk'
-arch=('any')
-url='http://groovy-lang.org/'
-license=('APACHE' 'BSD' 'custom')
-depends=('bash' 'java-environment')
-optdepends=('groovy-docs: html and pdf documentation for Groovy')
-makedepends=('gendesk')
-source=("http://dl.bintray.com/groovy/maven/$pkgname-binary-$pkgver.zip"
-        "$pkgname.png::http://svn.codehaus.org/groovy/tags/GROOVY_1_7_6/src/main/groovy/ui/ConsoleIcon.png")
-sha256sums=('1c891c3403e3d2dcc2f91b2ea856b9e6c8cc076f614a1b27d5d91ccb7d7a6b0b'
-            '24e539235b5762b1220f39d7953a52e9b4a458c2be4f66a60219755363ba6dba')
-
-prepare() {
-  # Generate desktop shortcut
-  gendesk -f -n --pkgname "$pkgname" --pkgdesc 'Groovy programming language' \
-    --exec 'groovyConsole' --name 'Groovy Console'
-
-  # Set GROOVY_HOME correctly at the top of all the scripts.
-  # There are probably better ways to do this, but this works.
-  for f in "$pkgname-$pkgver/bin/"*; do
-    sed 's:bin/sh:bin/sh\nGROOVY_HOME=/usr/share/groovy:' -i "$f"
-  done
-
-  cd "$pkgname-$pkgver/embeddable"
-  ln -s "$pkgname-all-$pkgver.jar" "$pkgname-all.jar"
-}
-
-package() {
-  cd "$pkgname-$pkgver"
-
-  # Create the directories and package the files
-  install -d "$pkgdir/usr/share/groovy" "$pkgdir/usr/bin"
-  cp -r lib conf embeddable "$pkgdir/usr/share/groovy"
-  cp bin/* "$pkgdir/usr/bin"
-
-  # Remove all DOS/Windows batch files
-  find $pkgdir -name '*.bat' -exec rm {} \;
-
-  # Package the APACHE license
-  install -Dm644 LICENSE.txt \
-    "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
-  install -Dm644 CLI-LICENSE.txt \
-    "$pkgdir/usr/share/licenses/$pkgname/CLI-LICENSE"
-
-  # Package the BSD license
-  install -Dm644 ANTLR-LICENSE.txt \
-    "$pkgdir/usr/share/licenses/$pkgname/ANTLR-LICENSE"
-
-  # Package the custom license
-  install -Dm644 ASM-LICENSE.txt \
-    "$pkgdir/usr/share/licenses/$pkgname/ASM-LICENSE"
-  install -Dm644 JSR223-LICENSE.txt \
-    "$pkgdir/usr/share/licenses/$pkgname/JSR223-LICENSE"
-
-  # Package the desktop shortcut for Groovy Console
-  install -Dm644 "$srcdir/$pkgname.desktop" \
-    "$pkgdir/usr/share/applications/$pkgname.desktop"
-  install -Dm644 "$srcdir/$pkgname.png" \
-    "$pkgdir/usr/share/pixmaps/$pkgname.png"
-}
-
-# vim:set ts=2 sw=2 et:

Copied: groovy/repos/community-any/PKGBUILD (from rev 131474, groovy/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2015-04-16 13:24:57 UTC (rev 131475)
@@ -0,0 +1,69 @@
+# $Id$
+# Maintainer: Alexander Rødseth <rodseth at gmail.com>
+# Contributor: Musikolo <musikoloAThotmailDOTcom>
+# Contributor: Ruben Fonseca <fonseka at gmail.com>
+# Contributor: Andreas W. Hauser <andy-aur at splashground.de>
+
+pkgname=groovy
+pkgver=2.4.3
+pkgrel=1
+pkgdesc='Programming language based on Java, inspired by Python, Ruby and Smalltalk'
+arch=('any')
+url='http://groovy-lang.org/'
+license=('APACHE' 'BSD' 'custom')
+depends=('bash' 'java-environment')
+optdepends=('groovy-docs: html and pdf documentation for Groovy')
+makedepends=('gendesk')
+source=("http://dl.bintray.com/groovy/maven/$pkgname-binary-$pkgver.zip"
+        "$pkgname.png::http://svn.codehaus.org/groovy/tags/GROOVY_1_7_6/src/main/groovy/ui/ConsoleIcon.png")
+sha256sums=('b0c11d2ca5003956f1393138282a6e802af8c0033c5afdc8dc3af1e512e1dbe1'
+            '24e539235b5762b1220f39d7953a52e9b4a458c2be4f66a60219755363ba6dba')
+
+prepare() {
+  # Generate desktop shortcut
+  gendesk -f -n --pkgname "$pkgname" --pkgdesc 'Groovy programming language' \
+    --exec 'groovyConsole' --name 'Groovy Console'
+
+  # Set GROOVY_HOME correctly at the top of all the scripts.
+  # There are probably better ways to do this, but this works.
+  for f in "$pkgname-$pkgver/bin/"*; do
+    sed 's:bin/sh:bin/sh\nGROOVY_HOME=/usr/share/groovy:' -i "$f"
+  done
+
+  cd "$pkgname-$pkgver/embeddable"
+  ln -s "$pkgname-all-$pkgver.jar" "$pkgname-all.jar"
+}
+
+package() {
+  cd "$pkgname-$pkgver"
+
+  # Create the directories and package the files
+  install -d "$pkgdir/usr/share/groovy" "$pkgdir/usr/bin"
+  cp -r lib conf embeddable "$pkgdir/usr/share/groovy"
+  cp bin/* "$pkgdir/usr/bin"
+
+  # Remove all DOS/Windows batch files
+  find $pkgdir -name '*.bat' -exec rm {} \;
+
+  # Package the APACHE license
+  install -Dm644 CLI-LICENSE.txt \
+    "$pkgdir/usr/share/licenses/$pkgname/CLI-LICENSE"
+
+  # Package the BSD license
+  install -Dm644 ANTLR-LICENSE.txt \
+    "$pkgdir/usr/share/licenses/$pkgname/ANTLR-LICENSE"
+
+  # Package the custom license
+  install -Dm644 ASM-LICENSE.txt \
+    "$pkgdir/usr/share/licenses/$pkgname/ASM-LICENSE"
+  install -Dm644 JSR223-LICENSE.txt \
+    "$pkgdir/usr/share/licenses/$pkgname/JSR223-LICENSE"
+
+  # Package the desktop shortcut for Groovy Console
+  install -Dm644 "$srcdir/$pkgname.desktop" \
+    "$pkgdir/usr/share/applications/$pkgname.desktop"
+  install -Dm644 "$srcdir/$pkgname.png" \
+    "$pkgdir/usr/share/pixmaps/$pkgname.png"
+}
+
+# vim:set ts=2 sw=2 et:



More information about the arch-commits mailing list