Date: Saturday, March 21, 2015 @ 20:39:17 Author: arodseth Revision: 129716
upgpkg: groovy 2.4.2-1 Modified: groovy/trunk/PKGBUILD ----------+ PKGBUILD | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) Modified: PKGBUILD =================================================================== --- PKGBUILD 2015-03-21 18:27:50 UTC (rev 129715) +++ PKGBUILD 2015-03-21 19:39:17 UTC (rev 129716) @@ -5,7 +5,7 @@ # Contributor: Andreas W. Hauser <[email protected]> pkgname=groovy -pkgver=2.4.1 +pkgver=2.4.2 pkgrel=1 pkgdesc='Programming language based on Java, inspired by Python, Ruby and Smalltalk' arch=('any') @@ -16,21 +16,21 @@ makedepends=('gendesk') source=("http://dl.bintray.com/groovy/maven/$pkgname-binary-$pkgver.zip" "$pkgname.png::http://svn.codehaus.org/groovy/tags/GROOVY_1_7_6/src/main/groovy/ui/ConsoleIcon.png") -sha256sums=('90fd90cd29cfd1af59b33ddca668a69e4823a1e3e03eeade4964c64800da1aae' +sha256sums=('1c891c3403e3d2dcc2f91b2ea856b9e6c8cc076f614a1b27d5d91ccb7d7a6b0b' '24e539235b5762b1220f39d7953a52e9b4a458c2be4f66a60219755363ba6dba') prepare() { # Generate desktop shortcut gendesk -f -n --pkgname "$pkgname" --pkgdesc 'Groovy programming language' \ - --exec 'groovyConsole' --name 'Groovy Console' + --exec 'groovyConsole' --name 'Groovy Console' # Set GROOVY_HOME correctly at the top of all the scripts. - # This works, but there is probably an even better way to do this. - cd "$pkgname-$pkgver/embeddable" - for f in ../bin/*; do - sed 's:bin/sh:bin/sh\nGROOVY_HOME=/usr/share/groovy:' -i $f + # There are probably better ways to do this, but this works. + for f in "$pkgname-$pkgver/bin/"*; do + sed 's:bin/sh:bin/sh\nGROOVY_HOME=/usr/share/groovy:' -i "$f" done + cd "$pkgname-$pkgver/embeddable" ln -s "$pkgname-all-$pkgver.jar" "$pkgname-all.jar" }
