[arch-commits] Commit in groovy/repos/community-any (PKGBUILD PKGBUILD)
Alexander Rødseth
arodseth at archlinux.org
Sun Mar 6 11:47:49 UTC 2016
Date: Sunday, March 6, 2016 @ 12:47:49
Author: arodseth
Revision: 165354
archrelease: copy trunk to community-any
Added:
groovy/repos/community-any/PKGBUILD
(from rev 165353, groovy/trunk/PKGBUILD)
Deleted:
groovy/repos/community-any/PKGBUILD
----------+
PKGBUILD | 120 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 60 insertions(+), 60 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2016-03-06 11:47:39 UTC (rev 165353)
+++ PKGBUILD 2016-03-06 11:47:49 UTC (rev 165354)
@@ -1,60 +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.5
-pkgrel=1
-pkgdesc='Programming language based on Java, inspired by Python, Ruby and Smalltalk'
-arch=('any')
-url='http://groovy-lang.org/'
-license=('APACHE')
-depends=('bash' 'java-environment')
-optdepends=('groovy-docs: html and pdf documentation for Groovy')
-makedepends=('gendesk')
-source=("http://dl.bintray.com/groovy/maven/apache-$pkgname-binary-$pkgver.zip"
- "$pkgname.png::https://raw.githubusercontent.com/apache/incubator-groovy/master/subprojects/groovy-console/src/main/resources/groovy/ui/ConsoleIcon.png")
-sha256sums=('87e8e9af1f718b84c9bca5a8c42425aadb9e97d8e4ad64e0c91f7c1454cd4caa'
- '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 license file
- install -Dm644 LICENSE \
- "$pkgdir/usr/share/licenses/$pkgname/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"
-}
-
-# getver: groovy-lang.org/changelogs.html
-# vim:set ts=2 sw=2 et:
Copied: groovy/repos/community-any/PKGBUILD (from rev 165353, groovy/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2016-03-06 11:47:49 UTC (rev 165354)
@@ -0,0 +1,60 @@
+# $Id$
+# Maintainer: Alexander F Rødseth <xyproto at archlinux.org>
+# Contributor: Musikolo <musikoloAThotmailDOTcom>
+# Contributor: Ruben Fonseca <fonseka at gmail.com>
+# Contributor: Andreas W. Hauser <andy-aur at splashground.de>
+
+pkgname=groovy
+pkgver=2.4.6
+pkgrel=1
+pkgdesc='Programming language based on Java, inspired by Python, Ruby and Smalltalk'
+arch=('any')
+url='http://groovy-lang.org/'
+license=('APACHE')
+depends=('bash' 'java-environment')
+optdepends=('groovy-docs: html and pdf documentation for Groovy')
+makedepends=('gendesk')
+source=("http://dl.bintray.com/groovy/maven/apache-$pkgname-binary-$pkgver.zip"
+ "$pkgname.png::https://raw.githubusercontent.com/apache/incubator-groovy/master/subprojects/groovy-console/src/main/resources/groovy/ui/ConsoleIcon.png")
+sha256sums=('9b3fb5b51bc21342bba13f090a88ad6d89b20c4a7a166dd50df2ac763c278768'
+ '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 license file
+ install -Dm644 LICENSE \
+ "$pkgdir/usr/share/licenses/$pkgname/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"
+}
+
+# getver: groovy-lang.org/changelogs.html
+# vim:set ts=2 sw=2 et:
More information about the arch-commits
mailing list