summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 01e762482b5e3d7bca87459970fb9ead02c1d584 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
# This is an example PKGBUILD file. Use this as a start to creating your own,
# and remove these comments. For more information, see 'man PKGBUILD'.
# NOTE: Please fill out the license field for your package! If it is unknown,
# then please put 'unknown'.

# Maintainer: Ioannis Angelakopoulos <ioagel@gmail.com>
pkgname=glassfish-web-v4
pkgver=4.1.1
pkgrel=1
pkgdesc="Glassfish 4 - Java EE 7 Web Profile edition"
arch=("any")
url="https://glassfish.java.net/"
license=("CDDL")
depends=("java-environment>=7")
provides=("glassfish")
conflicts=("glassfish")
options=(!strip)
install=$pkgname.install
source=(
  http://download.java.net/glassfish/${pkgver}/release/glassfish-${pkgver}-web.zip
  glassfish-web.service
)
md5sums=('44baeca38cf33bb655fd3dd09f7d2b78'
         '1e903be92d42b99140fef18d24302c0f')

package() {
  mkdir -p $pkgdir/opt
  mv glassfish4 $pkgdir/opt/glassfish4-web
  install -D $srcdir/glassfish-web.service $pkgdir/usr/lib/systemd/system/glassfish-web.service
}