updated on Wed Jan 11 00:07:16 UTC 2012
[aur-mirror.git] / jboss6 / PKGBUILD
blobdb5371e75025d6fc4bb8ecd71b5670abfc95580f
1 # Maintainer: Guillaume ALAUX <Guillaume at alaux dot net>
2 pkgname=jboss6
3 pkgver=6.0.0.Final
4 pkgrel=1
5 pkgdesc="JBoss Application Server by RedHat"
6 arch=('i686' 'x86_64')
7 url="http://www.jboss.org/"
8 license=('LGPL')
9 depends=('java-environment')
10 makedepends=('java-environment')
11 source=(http://downloads.sourceforge.net/project/jboss/JBoss/JBoss-${pkgver}/jboss-as-distribution-${pkgver}.zip
12         jboss6.sh
13         jboss6)
14 md5sums=('81ed7c2c274881963467c11f204eedfc'
15          '72fd145eaf046725324ed99f17d06197'
16          '4a144f3fe86ca75fb2acd15a64adf305')
18 package() {
19   cd "${srcdir}/jboss-${pkgver}"
20   rm -f bin/*.{bat,exe}
21   install -dm755 ${pkgdir}/usr/share
22   cp -R ${srcdir}/jboss-${pkgver} ${pkgdir}/usr/share/${pkgname}
24   install -Dm755 ${srcdir}/jboss6 ${pkgdir}/etc/rc.d/jboss6
25   install -Dm755 ${srcdir}/jboss6.sh ${pkgdir}/etc/profile.d/jboss6.sh