blob: 7fccd290924998ad2a0eb05e4575775dcc3dbeb9 (
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
34
35
36
37
38
39
40
41
|
# Contributor: Jakub Jirutka <jakub@jirutka.cz>
# Maintainer: Jakub Jirutka <jakub@jirutka.cz>
pkgname=jetty-runner
pkgver=9.3.11.20160721
_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"
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" || return 1
install -m755 -D $pkgname "$pkgdir/usr/bin/$pkgname" || return 1
install -m755 -D $pkgname.initd "$pkgdir/etc/init.d/$pkgname" || return 1
install -m644 -D $pkgname.confd "$pkgdir/etc/conf.d/$pkgname"
}
md5sums="231b49fa6d495e1d65966741e45da93b jetty-runner-9.3.11.v20160721.jar
1cb6fdbfb741c751b58702d11ffa7dde jetty-runner
8e7e5c9d03374a9ea5cbe3e2f9b7a123 jetty-runner.initd
9361eabb2dfce897bee701c470c77da1 jetty-runner.confd"
sha256sums="60c079ca1e88aec35d5fb40b464a1d95dcf32610b2940acd08912ca74bb55225 jetty-runner-9.3.11.v20160721.jar
d4d0b3b13df6291e8df6427beccc1a2694af46c6f5e9a94da5b4e8291437d569 jetty-runner
dd04eef7ee4f6a9a3fce398bea09ebbbd6a0b686e6408a44bbdd954eb37dfa7f jetty-runner.initd
995d203b95c1b311537d1d58b7de3bb83cc8ef554033c235a5917b8964f4eb12 jetty-runner.confd"
sha512sums="c7367b2787679698ae55adffeeacf1d1c2c266b896b8939a3c65f306017bb31977d9aa01c8808a5f2d5aada01ca65903e9f213bcbecc7e005521e46342bb6307 jetty-runner-9.3.11.v20160721.jar
bcf503157b94c7714355e6ff66eb87e7ef9558247b4242d02452d768cd99a6c73bd1f9aad899128fec063f8c68901d98cc41497211eacf075ae10dfe2f28557d jetty-runner
a2f78a637374fb43ad0ddf58593dd31fd66f997171c54e204638cb00f67365e17346af1763273f1ebd35fca175d0df29907ddcd74745c24d766a329a19e7d4ce jetty-runner.initd
3e7e52e31f69b54ff81e741ccec8fad5afb5277affb085f6b4f42d643a5609a75e8b6f83fff33c24e41866a42e698de72d687ba5f6cf74825b40ac8c7dda57b3 jetty-runner.confd"
|