Date: Tuesday, December 7, 2021 @ 11:51:37
  Author: arodseth
Revision: 1065517

upgpkg: grails 5.0.2-1

Modified:
  grails/trunk/PKGBUILD

----------+
 PKGBUILD |   46 ++++++++++++++++++++++------------------------
 1 file changed, 22 insertions(+), 24 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD    2021-12-07 11:38:34 UTC (rev 1065516)
+++ PKGBUILD    2021-12-07 11:51:37 UTC (rev 1065517)
@@ -1,26 +1,26 @@
-# Maintainer: Levente Polyak <anthraxx[at]archlinux[dot]org>
-# Contributor: Alexander Rødseth <rods...@gmail.com>
+# Maintainer: Alexander F. Rødseth <xypr...@archlinux.org>
+# Contributor: Levente Polyak <anthraxx[at]archlinux[dot]org>
 
 pkgbase=grails
-pkgname=('grails' 'grails-docs')
-pkgver=4.0.11
+pkgname=(grails grails-docs)
+pkgver=5.0.2
 pkgrel=1
 pkgdesc='Groovy on rails, web framework'
 url='https://grails.org/'
-arch=('any')
-license=('Apache')
-makedepends=('apache-ant' 'unzip' 'setconf' 'junit' 'java-environment')
-optdepends=('groovy: the groovy programming language'
-            'grails-docs: documentation for grails')
+arch=(any)
+license=(Apache)
+makedepends=(apache-ant java-environment junit setconf unzip)
+optdepends=('grails-docs: documentation for grails'
+            'groovy: the groovy programming language')
 options=('!emptydirs')
 noextract=("${pkgname[1]}-${pkgver}.zip")
 
source=(${pkgname[0]}-${pkgver}.zip::https://github.com/grails/grails-core/releases/download/v${pkgver}/grails-${pkgver}.zip
         
${pkgname[1]}-${pkgver}.zip::https://github.com/grails/grails-doc/releases/download/v${pkgver}/grails-docs.zip)
-sha512sums=('149e670f600843db991e56fb44f02d31dab9b1b197bfc0fa2ad75129cb86c0e7be91fbbc71abdb73901ee3242cdf627992cd0f22e6526c7c616ac31e8697f9e4'
-            
'6584475d654625446efea2a220993257f332d3e210db034ab6170a6848769d835db827612f31809ffda51107ffdc4cd535d655ada9c091ecaba18f3e74bdf3d2')
+b2sums=('3f99158bda95dee90ab8433aff6cea4de3579b125b2c1ee0848dacb5b804573173dcd1bdfc02ec4407a842079e26adf5c54a1e3dbafa70de8cd5bb4b6b42b77b'
+        
'1657c1a0d147dd01651643d8501dcf04ab32ace29b30b9cac23c1e6ce29b24cde8bed287d1724ab11be3372afb61be97ebdf1dcc1c68840524e634cf784258e4')
 
 prepare() {
-  cd ${pkgbase}-${pkgver}
+  cd $pkgbase-$pkgver
   echo 'export GRAILS_HOME=/usr/share/grails' > "${srcdir}/${pkgbase}.profile"
   env
   setconf bin/grails APP_HOME /usr/share/grails
@@ -30,15 +30,15 @@
 package_grails() {
   depends=('java-environment' 'junit' 'bash')
 
-  cd ${pkgname}-${pkgver}
-  install -d "${pkgdir}/usr/share/pixmaps"
-  cp -r . "${pkgdir}/usr/share/${pkgname}"
-  install -Dm 755 bin/grails "${pkgdir}/usr/bin/grails"
-  install -Dm 644 media/icons/*.png -t "${pkgdir}/usr/share/pixmaps"
-  install -Dm 755 "${srcdir}/${pkgbase}.profile" 
"${pkgdir}/etc/profile.d/${pkgname}.sh"
+  install -Dm755 $pkgbase.profile "$pkgdir/etc/profile.d/$pkgname.sh"
+  cd $pkgbase-$pkgver
+  install -d "$pkgdir/usr/share/pixmaps"
+  cp -r . "$pkgdir/usr/share/$pkgname"
+  install -Dm755 bin/grails "$pkgdir/usr/bin/grails"
+  install -Dm644 media/icons/*.png -t "$pkgdir/usr/share/pixmaps"
 
   # clean up
-  cd "${pkgdir}/usr/share/${pkgname}"
+  cd "$pkgdir/usr/share/$pkgname"
   rm -rf doc INSTALL LICENSE README
   find "${pkgdir}/usr/share" -name "*.bat" -exec rm {} \;
 }
@@ -45,9 +45,7 @@
 
 package_grails-docs() {
   pkgdesc='Documentation for Grails'
-  install -d "${pkgdir}/usr/share/doc" "${pkgdir}/usr/share/grails"
-  unzip "grails-docs-${pkgver}.zip" -d 
"${pkgdir}/usr/share/doc/grails-${pkgver}"
-  ln -s "/usr/share/doc/grails-${pkgver}" "${pkgdir}/usr/share/grails/doc"
+  install -d "$pkgdir/usr/share/doc" "$pkgdir/usr/share/grails"
+  unzip "grails-docs-$pkgver.zip" -d "$pkgdir/usr/share/doc/grails-$pkgver"
+  ln -s "/usr/share/doc/grails-$pkgver" "$pkgdir/usr/share/grails/doc"
 }
-
-# vim: ts=2 sw=2 et:

Reply via email to