1 # Maintainer: Guillaume ALAUX <guillaume at alaux dot net>
5 pkgdesc="Java EE 5 certified Open Source OSGi Enterprise Server by OW2"
7 url="http://jonas.ow2.org/"
9 depends=('java-runtime' 'apache-ant>1.7' 'java-bcel')
10 optdepends=('zsh-completions-git'
11 'jonas-bash-completion')
14 http://download.forge.objectweb.org/${pkgname}/${pkgname}-full-${pkgver}-bin.tar.gz \
18 md5sums=('5e5a2f301aa672ae0a69ed4c3571447d'
19 '7f6035ea79d1750b643177ce93b260a9'
20 'ab6a50bab9ecb98cb34f7fc1932009a1')
23 mkdir -p ${pkgdir}/opt
25 cp -a ${srcdir}/jonas-full-${pkgver} ${pkgdir}/opt/${pkgname}
26 # Daemon startup script
27 install -D -m755 ${srcdir}/jonas ${pkgdir}/etc/rc.d/jonas
29 find ${pkgdir}/opt/${pkgname}/bin -name "*.bat" -delete
30 # Environment variables
31 install -D -m755 ${srcdir}/jonas.sh ${pkgdir}/etc/profile.d/jonas.sh