updated on Thu Jan 26 00:18:00 UTC 2012
[aur-mirror.git] / groovy / PKGBUILD
blob5dd692f29290a1921624be87f1a80c3e6586e609
1 # Maintainer: Musikolo <musikoloAThotmailDOTcom>
2 # ExContributor: krani1
3 # Contributor: Andreas W. Hauser <andy-aur@splashground.de>
4 pkgname=groovy
5 pkgver=1.8.5
6 pkgrel=1
7 pkgdesc="Groovy is a Java based scripting language, similar to Python, Ruby and Smalltalk"
8 url="http://groovy.codehaus.org"
9 license="BSD/Apache style licence"
10 depends=(bash java-environment)
11 arch=(x86_64 i686)
12 source=(http://dist.codehaus.org/groovy/distributions/$pkgname-binary-$pkgver.zip groovy.sh)
13 md5sums=('0c8759563be35e26fcebff240de4ca21'
14          '8d619f6a1a06a66601a65fd5b5042dd0')
15 sha1sums=('6de4f2f191ec71e31ba99b3dda809716987be7d1'
16           'fc4aa25a24a3fea82ed6078b0326c1b962b9ab25')
18 _optdir=${pkgdir}/opt/groovy
19 _profiledir=${pkgdir}/etc/profile.d
21 build() {
22   cd ${srcdir}/${pkgname}-${pkgver}/embeddable
23   ln -s ${pkgname}-all-$pkgver.jar ${pkgname}-all.jar
24   cd ..
25   mkdir -p ${_optdir}
26   mv * ${_optdir}
27   mkdir -p ${_profiledir}
28   install -m755 ../groovy.sh ${_profiledir}/groovy.sh