updated on Thu Jan 19 00:16:31 UTC 2012
[aur-mirror.git] / glassfish-v3 / PKGBUILD
blob24084615cadd5734b0f1fc7fa71b5f78a536c964
1 # Maintainer: Bernhard Friedreich <friesoft@gmail.com>
2 # Contributor: aleph (rc script)
3 # Contributor: coverslide (new version)
4 # Contributor: andrej (new pkgbuild)
5 # Contributor: xtecuan (config)
7 pkgname=glassfish-v3
8 pkgver=3.1
9 pkgrel=1
10 pkgdesc="Application server (like tomcat) based on Java EE 6 from Sun"
11 url="https://glassfish.dev.java.net/"
12 license=(GPL CDDL)
13 provides=(glassfish)
14 conflicts=(glassfish)
15 depends=(jre apache-ant)
16 makedepends=(jdk)
17 arch=(i686 x86_64)
18 options=(!strip)
19 source=(http://download.java.net/glassfish/3.1/release/glassfish-3.1.zip
20        glassfish
21        glassfishrc
24 md5sums=('a4951c1a7268f92fd0bd6fada89f29d6'
25          '8b7baab86688c0d9700e7618ba256c92'
26          '72470179aa643e531922ac4e3a9a68b8')
28 build() {
29     mkdir $startdir/pkg/opt
30     mv glassfish3 $startdir/pkg/opt/
31     install -D $srcdir/glassfish $pkgdir/etc/conf.d/glassfish
32     install -D $srcdir/glassfishrc $pkgdir/etc/rc.d/glassfish