blob: 2e31555cc79385f4568f2a85e8764e5b9b7026e9 (
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.12.20180830
_pkgver="${pkgver%.*}.v${pkgver##*.}"
pkgrel=1
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"
subpackages="$pkgname-openrc"
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="5ffa8c7c090671e4094e9867b8cae5588856430eb2045835a09c0c7dd4787a399ecdf3af19bc12797c8034982c4f382e25833c57357ebb97b61b5b345b4e7c73 jetty-runner-9.4.12.v20180830.jar
bcf503157b94c7714355e6ff66eb87e7ef9558247b4242d02452d768cd99a6c73bd1f9aad899128fec063f8c68901d98cc41497211eacf075ae10dfe2f28557d jetty-runner
a2f78a637374fb43ad0ddf58593dd31fd66f997171c54e204638cb00f67365e17346af1763273f1ebd35fca175d0df29907ddcd74745c24d766a329a19e7d4ce jetty-runner.initd
3e7e52e31f69b54ff81e741ccec8fad5afb5277affb085f6b4f42d643a5609a75e8b6f83fff33c24e41866a42e698de72d687ba5f6cf74825b40ac8c7dda57b3 jetty-runner.confd"
|