summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 156eb09a4f71a42568849926069d686b67b494f7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
# Maintainer: Mohammadreza Abdollahzadeh <morealaz at gmail dot com>

pkgname=glassfish5
pkgver=5.0
pkgrel=2
pkgdesc="The Open Source Java EE 8 Reference Implementation."
url="https://javaee.github.io/glassfish/"
license=("CDDL")
depends=("java-environment>=8")
arch=("any")
options=(!strip)
source=("http://download.oracle.com/glassfish/5.0/release/glassfish-${pkgver}.zip"
		"glassfish5.service")

sha256sums=('85450f0cd4875729d64be6bcbf7ed8f61009ea0f23d3be453c6f3d1dbab02420'
            '9be6b53df62a719e4cac1b54703f0abcc6c22389d1b46e3e85ed38d6f1453cdc')

package() {
    install -d "$pkgdir/opt"
    cp -a glassfish5 "$pkgdir/opt/glassfish5"
    install -D glassfish5.service "$pkgdir/usr/lib/systemd/system/glassfish5.service"
}