Date: Friday, August 21, 2020 @ 14:06:04
  Author: cesura
Revision: 686048

archrelease: copy trunk to community-any

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

----------+
 PKGBUILD |  109 +++++++++++++++++++++++++++++--------------------------------
 1 file changed, 53 insertions(+), 56 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD    2020-08-21 14:05:57 UTC (rev 686047)
+++ PKGBUILD    2020-08-21 14:06:04 UTC (rev 686048)
@@ -1,56 +0,0 @@
-# Maintainer: Brad Fanella <ces...@archlinux.org>
-# Contributor: Alexander F Rødseth <xypr...@archlinux.org>
-# Contributor: Musikolo <musik...@hotmail.com>
-# Contributor: Ruben Fonseca <fons...@gmail.com>
-# Contributor: Andreas W. Hauser <andy-...@splashground.de>
-
-pkgname=groovy
-pkgver=2.5.8
-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')
-# .asc file is available for download, but there was no key available
-source=("https://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=('49fb14b98f9fed1744781e4383cf8bff76440032f58eb5fabdc9e67a5daa8742'
-            '24e539235b5762b1220f39d7953a52e9b4a458c2be4f66a60219755363ba6dba')
-
-prepare() {
-       # Generate desktop shortcut
-       gendesk -f -n \
-               --pkgname "$pkgname" \
-               --pkgdesc 'Groovy programming language' \
-               --exec 'groovyConsole' \
-               --name 'Groovy Console'
-
-       # Patch the scripts
-       for f in "$pkgname-$pkgver/bin/"*; do
-               sed 's:bin/env\ sh:bin/env\ 
sh\nGROOVY_HOME=/usr/share/groovy\nexport 
_JAVA_OPTIONS="-Dawt.useSystemAAFontSettings=gasp $_JAVA_OPTIONS":' -i "$f"
-       done
-}
-
-package() {
-       cd "$pkgname-$pkgver"
-
-       # Create the directories and package the files
-       install -d "$pkgdir/usr/share/groovy" "$pkgdir/usr/bin"
-       cp -r lib conf "$pkgdir/usr/share/groovy"
-       cp bin/* "$pkgdir/usr/bin"
-       rm "$pkgdir"/usr/bin/*completion
-       install -Dm644 bin/*completion -t 
"$pkgdir"/usr/share/bash-completion/completions
-
-       # Remove all DOS/Windows batch files
-       find $pkgdir -name '*.bat' -exec rm {} \;
-
-       # Package the license file
-       install -Dm644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname
-
-       # Package the desktop shortcut for Groovy Console
-       install -Dm644 "$srcdir/$pkgname.desktop" -t 
"$pkgdir"/usr/share/applications
-       install -Dm644 "$srcdir/$pkgname.png" -t "$pkgdir"/usr/share/pixmaps
-}

Copied: groovy/repos/community-any/PKGBUILD (from rev 686047, 
groovy/trunk/PKGBUILD)
===================================================================
--- PKGBUILD                            (rev 0)
+++ PKGBUILD    2020-08-21 14:06:04 UTC (rev 686048)
@@ -0,0 +1,53 @@
+# Maintainer: Brad Fanella <ces...@archlinux.org>
+# Contributor: Alexander F Rødseth <xypr...@archlinux.org>
+# Contributor: Musikolo <musik...@hotmail.com>
+# Contributor: Ruben Fonseca <fons...@gmail.com>
+# Contributor: Andreas W. Hauser <andy-...@splashground.de>
+
+pkgname=groovy
+pkgver=2.5.13
+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')
+# .asc file is available for download, but there was no key available
+source=("https://dl.bintray.com/groovy/maven/apache-$pkgname-binary-$pkgver.zip";)
+sha256sums=('ec140c1a3a36df44f863a6ca1a6d3fba763eade67f3a283518b821f7ac6f3cbe')
+
+prepare() {
+       # Generate desktop shortcut
+       gendesk -f -n \
+               --pkgname "$pkgname" \
+               --pkgdesc 'Groovy programming language' \
+               --exec 'groovyConsole' \
+               --name 'Groovy Console'
+
+       # Patch the scripts
+       for f in "$pkgname-$pkgver/bin/"*; do
+               sed 's:bin/env\ sh:bin/env\ 
sh\nGROOVY_HOME=/usr/share/groovy\nexport 
_JAVA_OPTIONS="-Dawt.useSystemAAFontSettings=gasp $_JAVA_OPTIONS":' -i "$f"
+       done
+}
+
+package() {
+       cd "$pkgname-$pkgver"
+
+       # Create the directories and package the files
+       install -d "$pkgdir/usr/share/groovy" "$pkgdir/usr/bin"
+       cp -r lib conf "$pkgdir/usr/share/groovy"
+       cp bin/* "$pkgdir/usr/bin"
+       rm "$pkgdir"/usr/bin/*completion
+       install -Dm644 bin/*completion -t 
"$pkgdir"/usr/share/bash-completion/completions
+
+       # Remove all DOS/Windows batch files
+       find $pkgdir -name '*.bat' -exec rm {} \;
+
+       # Package the license file
+       install -Dm644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname
+
+       # Package the desktop shortcut for Groovy Console
+       install -Dm644 "$srcdir/$pkgname.desktop" -t 
"$pkgdir"/usr/share/applications
+}

Reply via email to