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


Commits:
9f7e912b by Alexander F. Rødseth at 2023-10-05T23:14:14+02:00
upgpkg: 4.0.15-1

- - - - -


2 changed files:

- + .SRCINFO
- PKGBUILD


Changes:

=====================================
.SRCINFO
=====================================
@@ -0,0 +1,16 @@
+pkgbase = groovy
+       pkgdesc = Programming language for the Java platform, inspired by 
Python, Ruby and Smalltalk
+       pkgver = 4.0.15
+       pkgrel = 1
+       url = https://groovy-lang.org/
+       arch = any
+       license = Apache
+       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
+       sha256sums = 
31d96c1e1cf75c7e8173cdcef9bed1e3edd4e87e6400400584220e0bb42892e5
+       b2sums = 
926d8a6ff8c08dd025a0ad388eb08bc9a1b96e5e748a1eee482ab5c4f898e55ae0e4567318ffd465f1632b794dd82dfe4d4f24183dc84c7089026682ce503b90
+
+pkgname = groovy


=====================================
PKGBUILD
=====================================
@@ -5,17 +5,18 @@
 # Contributor: Andreas W. Hauser <[email protected]>
 
 pkgname=groovy
-pkgver=4.0.12
+pkgver=4.0.15
 pkgrel=1
 pkgdesc='Programming language for the Java platform, inspired by Python, Ruby 
and Smalltalk'
 arch=(any)
 url='https://groovy-lang.org/'
 license=(Apache)
-makedepends=(gendesk)
 depends=(bash java-environment)
+makedepends=(gendesk)
 optdepends=('groovy-docs: html and pdf documentation for Groovy')
 
source=("https://groovy.jfrog.io/artifactory/dist-release-local/groovy-zips/apache-groovy-binary-$pkgver.zip";)
-b2sums=('09cb5e269d8650126c40c688ef0f713682020d41647efe86abc5f644f79ae3983550c69101fa07c6df51c04ef25f5d8392c1a8160ef347014e77ba1b75072f6a')
+sha256sums=('31d96c1e1cf75c7e8173cdcef9bed1e3edd4e87e6400400584220e0bb42892e5')
+b2sums=('926d8a6ff8c08dd025a0ad388eb08bc9a1b96e5e748a1eee482ab5c4f898e55ae0e4567318ffd465f1632b794dd82dfe4d4f24183dc84c7089026682ce503b90')
 
 prepare() {
   gendesk -f -n \
@@ -32,19 +33,15 @@ prepare() {
 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' -type f -exec rm {} \;
 
-  # Package the license file
+  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
 
-  # Package the desktop shortcut for Groovy Console
-  install -Dm644 "$srcdir/$pkgname.desktop" -t "$pkgdir"/usr/share/applications
+  # 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/-/commit/9f7e912ba58a655fbd727f2bda4dc8a39c21d885

-- 
View it on GitLab: 
https://gitlab.archlinux.org/archlinux/packaging/packages/groovy/-/commit/9f7e912ba58a655fbd727f2bda4dc8a39c21d885
You're receiving this email because of your account on gitlab.archlinux.org.


Reply via email to