Alexander Rødseth pushed to branch main at Arch Linux / Packaging / Packages / 
groovy


Commits:
7c6c08c4 by Alexander F. Rødseth at 2024-02-07T10:46:05+01:00
Update to 4.0.18

- - - - -
16b15721 by Alexander F. Rødseth at 2024-02-07T10:47:05+01:00
upgpkg: 4.0.18-1

- - - - -


2 changed files:

- .SRCINFO
- PKGBUILD


Changes:

=====================================
.SRCINFO
=====================================
@@ -1,20 +1,19 @@
 pkgbase = groovy
        pkgdesc = Programming language for the Java platform, inspired by 
Python, Ruby and Smalltalk
-       pkgver = 4.0.15
-       pkgrel = 3
+       pkgver = 4.0.18
+       pkgrel = 1
        url = https://groovy-lang.org/
        arch = any
-       license = Apache
+       license = Apache-2.0
        makedepends = gendesk
-       depends = bash
        depends = java-environment
        optdepends = groovy-docs: html and pdf documentation for Groovy
-       source = 
https://groovy.jfrog.io/artifactory/dist-release-local/groovy-zips/apache-groovy-binary-4.0.15.zip
-       source = 
https://downloads.apache.org/groovy/4.0.15/distribution/apache-groovy-binary-4.0.15.zip.asc
+       source = 
https://groovy.jfrog.io/artifactory/dist-release-local/groovy-zips/apache-groovy-binary-4.0.18.zip
+       source = 
https://downloads.apache.org/groovy/4.0.18/distribution/apache-groovy-binary-4.0.18.zip.asc
        validpgpkeys = 34441E504A937F43EB0DAEF96A65176A0FB1CD0B
-       sha256sums = 
31d96c1e1cf75c7e8173cdcef9bed1e3edd4e87e6400400584220e0bb42892e5
+       sha256sums = 
4b03aa472ec7848d272893348a656be05d1b3502b30770ea57efa158e61154a6
        sha256sums = SKIP
-       b2sums = 
926d8a6ff8c08dd025a0ad388eb08bc9a1b96e5e748a1eee482ab5c4f898e55ae0e4567318ffd465f1632b794dd82dfe4d4f24183dc84c7089026682ce503b90
+       b2sums = 
086f2fd9afa92f02b310dd7eebfb63e4ba534185e0e97c50289ff8871dd2e3d6e9a41ecc392fdec7c73c8107c094d90ef2a777b916dd680f6d185851e99faee9
        b2sums = SKIP
 
 pkgname = groovy


=====================================
PKGBUILD
=====================================
@@ -6,21 +6,21 @@
 # Contributor: YongMing Zhang
 
 pkgname=groovy
-pkgver=4.0.15
-pkgrel=3
+pkgver=4.0.18
+pkgrel=1
 pkgdesc='Programming language for the Java platform, inspired by Python, Ruby 
and Smalltalk'
 arch=(any)
 url='https://groovy-lang.org/'
-license=(Apache)
-depends=(bash java-environment)
+license=(Apache-2.0)
+depends=(java-environment)
 makedepends=(gendesk)
 optdepends=('groovy-docs: html and pdf documentation for Groovy')
 validpgpkeys=('34441E504A937F43EB0DAEF96A65176A0FB1CD0B') # Paul King 
<[email protected]>
 
source=("https://groovy.jfrog.io/artifactory/dist-release-local/groovy-zips/apache-$pkgname-binary-$pkgver.zip";
         
"https://downloads.apache.org/groovy/$pkgver/distribution/apache-$pkgname-binary-$pkgver.zip.asc";)
-sha256sums=('31d96c1e1cf75c7e8173cdcef9bed1e3edd4e87e6400400584220e0bb42892e5'
+sha256sums=('4b03aa472ec7848d272893348a656be05d1b3502b30770ea57efa158e61154a6'
             'SKIP')
-b2sums=('926d8a6ff8c08dd025a0ad388eb08bc9a1b96e5e748a1eee482ab5c4f898e55ae0e4567318ffd465f1632b794dd82dfe4d4f24183dc84c7089026682ce503b90'
+b2sums=('086f2fd9afa92f02b310dd7eebfb63e4ba534185e0e97c50289ff8871dd2e3d6e9a41ecc392fdec7c73c8107c094d90ef2a777b916dd680f6d185851e99faee9'
         'SKIP')
 
 prepare() {
@@ -29,7 +29,7 @@ prepare() {
     --pkgdesc 'Groovy programming language' \
     --exec groovyConsole \
     --name 'Groovy Console'
-
+  # Modify environment variables in the included 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
@@ -37,16 +37,12 @@ prepare() {
 
 package() {
   cd $pkgname-$pkgver
-
-  install -d "$pkgdir/usr/share/groovy" "$pkgdir/usr/bin"
-  cp -r lib conf "$pkgdir/usr/share/groovy"
+  install -d "$pkgdir/usr/"{bin,share/groovy}
   cp bin/* "$pkgdir/usr/bin"
-  rm "$pkgdir"/usr/bin/*completion
-
+  cp -r lib conf "$pkgdir/usr/share/groovy"
+  rm -v "$pkgdir"/usr/bin/*completion
   install -Dm644 "$srcdir/$pkgname.desktop" -t "$pkgdir"/usr/share/applications
   install -Dm644 bin/*completion -t 
"$pkgdir"/usr/share/bash-completion/completions
   install -Dm644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname
-
-  # Remove DOS/Windows batch files
   find "$pkgdir" -name '*.bat' -type f -exec rm -v {} \;
 }



View it on GitLab: 
https://gitlab.archlinux.org/archlinux/packaging/packages/groovy/-/compare/fb3ff99158904f70da274af7cde0c277d29249ae...16b157216dec3cd62985344788fd6b636dc0f87e

-- 
View it on GitLab: 
https://gitlab.archlinux.org/archlinux/packaging/packages/groovy/-/compare/fb3ff99158904f70da274af7cde0c277d29249ae...16b157216dec3cd62985344788fd6b636dc0f87e
You're receiving this email because of your account on gitlab.archlinux.org.


Reply via email to