[arch-commits] Commit in grails/repos/community-any (PKGBUILD PKGBUILD)
Allan McRae
allan at gemini.archlinux.org
Mon Apr 25 00:11:40 UTC 2022
Date: Monday, April 25, 2022 @ 00:11:40
Author: allan
Revision: 1189722
archrelease: copy trunk to community-any
Added:
grails/repos/community-any/PKGBUILD
(from rev 1189721, grails/trunk/PKGBUILD)
Deleted:
grails/repos/community-any/PKGBUILD
----------+
PKGBUILD | 100 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 50 insertions(+), 50 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2022-04-25 00:11:21 UTC (rev 1189721)
+++ PKGBUILD 2022-04-25 00:11:40 UTC (rev 1189722)
@@ -1,50 +0,0 @@
-# Maintainer: Alexander F. Rødseth <xyproto at archlinux.org>
-# Contributor: Levente Polyak <anthraxx[at]archlinux[dot]org>
-
-pkgbase=grails
-pkgname=(grails grails-docs)
-pkgver=5.1.1
-pkgrel=1
-pkgdesc='Groovy on rails, web framework'
-url='https://grails.org/'
-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)
-b2sums=('894d71d281b12af9d9898044a3149416c498b602ff432c42f3635b6a77cc8901ced4ebcf00b974c200447a7a8d321841d3a3f4d1ff97db10d3565f91f649413b'
- '7224a2ca348a8b9d5da0495dfb65baabcb813f162ca88871b541584c1bbedf8af9899e1c38ed783080323bdfad2ba49b6f812563cbe59cc9da9a9d18cf5ea3a2')
-
-prepare() {
- cd $pkgbase-$pkgver
- echo 'export GRAILS_HOME=/usr/share/grails' > "${srcdir}/${pkgbase}.profile"
- setconf bin/grails APP_HOME /usr/share/grails
- tail bin/grails
-}
-
-package_grails() {
- depends=('java-environment' 'junit' 'bash')
-
- 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"
- rm -rf doc INSTALL LICENSE README
- find "${pkgdir}/usr/share" -name "*.bat" -exec rm {} \;
-}
-
-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"
-}
Copied: grails/repos/community-any/PKGBUILD (from rev 1189721, grails/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2022-04-25 00:11:40 UTC (rev 1189722)
@@ -0,0 +1,50 @@
+# Maintainer: Alexander F. Rødseth <xyproto at archlinux.org>
+# Contributor: Levente Polyak <anthraxx[at]archlinux[dot]org>
+
+pkgbase=grails
+pkgname=(grails grails-docs)
+pkgver=5.1.1
+pkgrel=2
+pkgdesc='Groovy on rails, web framework'
+url='https://grails.org/'
+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)
+b2sums=('894d71d281b12af9d9898044a3149416c498b602ff432c42f3635b6a77cc8901ced4ebcf00b974c200447a7a8d321841d3a3f4d1ff97db10d3565f91f649413b'
+ '7224a2ca348a8b9d5da0495dfb65baabcb813f162ca88871b541584c1bbedf8af9899e1c38ed783080323bdfad2ba49b6f812563cbe59cc9da9a9d18cf5ea3a2')
+
+prepare() {
+ cd $pkgbase-$pkgver
+ echo 'export GRAILS_HOME=/usr/share/grails' > "${srcdir}/${pkgbase}.profile"
+ setconf bin/grails APP_HOME /usr/share/grails
+ tail bin/grails
+}
+
+package_grails() {
+ depends=('java-environment' 'junit' 'bash')
+
+ 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"
+ rm -rf doc INSTALL LICENSE README
+ find "${pkgdir}/usr/share" -name "*.bat" -exec rm {} \;
+}
+
+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"
+}
More information about the arch-commits
mailing list