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

Antonio Rojas arojas at gemini.archlinux.org
Fri Aug 13 08:44:27 UTC 2021


    Date: Friday, August 13, 2021 @ 08:44:27
  Author: arojas
Revision: 997946

archrelease: copy trunk to community-any

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

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

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2021-08-13 08:44:17 UTC (rev 997945)
+++ PKGBUILD	2021-08-13 08:44:27 UTC (rev 997946)
@@ -1,53 +0,0 @@
-# Maintainer: Brad Fanella <cesura at archlinux.org>
-# Contributor: Alexander F Rødseth <xyproto at archlinux.org>
-# Contributor: Musikolo <musikolo at hotmail.com>
-# Contributor: Ruben Fonseca <fonseka at gmail.com>
-# Contributor: Andreas W. Hauser <andy-aur at splashground.de>
-
-pkgname=groovy
-pkgver=3.0.7
-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=('b9e2041cb83a963922f6761a0b037c5784670616632142b8d7002b7c3a96b7f5')
-
-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
-}

Copied: groovy/repos/community-any/PKGBUILD (from rev 997945, groovy/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2021-08-13 08:44:27 UTC (rev 997946)
@@ -0,0 +1,53 @@
+# Maintainer: Brad Fanella <cesura at archlinux.org>
+# Contributor: Alexander F Rødseth <xyproto at archlinux.org>
+# Contributor: Musikolo <musikolo at hotmail.com>
+# Contributor: Ruben Fonseca <fonseka at gmail.com>
+# Contributor: Andreas W. Hauser <andy-aur at splashground.de>
+
+pkgname=groovy
+pkgver=3.0.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://groovy.jfrog.io/ui/api/v1/download?repoKey=dist-release-local&path=groovy-zips%252Fapache-groovy-binary-$pkgver.zip")
+sha256sums=('87cf2a61b77f6378ae1081cfda9d14bc651271b25ffac57fc936cd17662e3240')
+
+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
+}



More information about the arch-commits mailing list