aboutsummaryrefslogtreecommitdiffstats
path: root/community/jetty-runner/APKBUILD
blob: e203f699929821ecc53764627739a364a206790e (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
32
33
# Contributor: Jakub Jirutka <jakub@jirutka.cz>
# Maintainer: Jakub Jirutka <jakub@jirutka.cz>
pkgname=jetty-runner
pkgver=9.4.11.20180605
_pkgver="${pkgver%.*}.v${pkgver##*.}"
pkgrel=0
pkgdesc="Fast and easy way to run Java web application from the command line."
url="https://www.eclipse.org/jetty"
arch="noarch"
license="Apache-2.0"
depends="openjdk8-jre-base"
makedepends=""
source="https://repo.maven.apache.org/maven2/org/eclipse/jetty/$pkgname/$_pkgver/$pkgname-$_pkgver.jar
	$pkgname
	$pkgname.initd
	$pkgname.confd
	"

package() {
	cd "$srcdir"

	install -m644 -D "$pkgname-$_pkgver.jar" \
		"$pkgdir/usr/share/java/$pkgname.jar"
	install -m755 -D $pkgname "$pkgdir/usr/bin/$pkgname"

	install -m755 -D $pkgname.initd "$pkgdir/etc/init.d/$pkgname"
	install -m644 -D $pkgname.confd "$pkgdir/etc/conf.d/$pkgname"
}

sha512sums="2bd12dd518fa2b054c39c2bd823f8639e1cc7ecd4c81c2ddb762c822a6d412bf93a2bd15c4ad87952afafec56a7ed0732f5fec9e54a128e7b132595da99ee9cd  jetty-runner-9.4.11.v20180605.jar
bcf503157b94c7714355e6ff66eb87e7ef9558247b4242d02452d768cd99a6c73bd1f9aad899128fec063f8c68901d98cc41497211eacf075ae10dfe2f28557d  jetty-runner
a2f78a637374fb43ad0ddf58593dd31fd66f997171c54e204638cb00f67365e17346af1763273f1ebd35fca175d0df29907ddcd74745c24d766a329a19e7d4ce  jetty-runner.initd
3e7e52e31f69b54ff81e741ccec8fad5afb5277affb085f6b4f42d643a5609a75e8b6f83fff33c24e41866a42e698de72d687ba5f6cf74825b40ac8c7dda57b3  jetty-runner.confd"