# Contributor: Jakub Jirutka # Maintainer: Jakub Jirutka pkgname=jetty-runner pkgver=9.3.9.20160517 _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" # JDK is not build for armhf (nmeum) arch="x86_64 x86" license="ASL-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 " build() { return 0 } 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="a3178c4035c7512f24304bd4897b1abb jetty-runner-9.3.9.v20160517.jar 1cb6fdbfb741c751b58702d11ffa7dde jetty-runner 8e7e5c9d03374a9ea5cbe3e2f9b7a123 jetty-runner.initd 9361eabb2dfce897bee701c470c77da1 jetty-runner.confd" sha256sums="d182404f14dbee7216e0f4ee36debb52d5f3ab3e31587d5c63a1321a371f0f17 jetty-runner-9.3.9.v20160517.jar d4d0b3b13df6291e8df6427beccc1a2694af46c6f5e9a94da5b4e8291437d569 jetty-runner dd04eef7ee4f6a9a3fce398bea09ebbbd6a0b686e6408a44bbdd954eb37dfa7f jetty-runner.initd 995d203b95c1b311537d1d58b7de3bb83cc8ef554033c235a5917b8964f4eb12 jetty-runner.confd" sha512sums="57e7058a7a877b18e079055837c0356cd5c1e10725f7de3f2a8e772f0fadeb442ea79d3ae551318013507c21ff6f55c14f535ac839af528cfbc1c0cd5e703536 jetty-runner-9.3.9.v20160517.jar bcf503157b94c7714355e6ff66eb87e7ef9558247b4242d02452d768cd99a6c73bd1f9aad899128fec063f8c68901d98cc41497211eacf075ae10dfe2f28557d jetty-runner a2f78a637374fb43ad0ddf58593dd31fd66f997171c54e204638cb00f67365e17346af1763273f1ebd35fca175d0df29907ddcd74745c24d766a329a19e7d4ce jetty-runner.initd 3e7e52e31f69b54ff81e741ccec8fad5afb5277affb085f6b4f42d643a5609a75e8b6f83fff33c24e41866a42e698de72d687ba5f6cf74825b40ac8c7dda57b3 jetty-runner.confd"