# Contributor: Jakub Jirutka # Maintainer: Jakub Jirutka pkgname="jetty-runner" pkgver="9.2.16.20160414" _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="0e0fea0905281611852344f788aacccf jetty-runner-9.2.16.v20160414.jar 1cb6fdbfb741c751b58702d11ffa7dde jetty-runner 8e7e5c9d03374a9ea5cbe3e2f9b7a123 jetty-runner.initd 9361eabb2dfce897bee701c470c77da1 jetty-runner.confd" sha256sums="57e74fbce07c7b30c0524f25f98d294fcd55034dbd65f7a41030a85a63176a20 jetty-runner-9.2.16.v20160414.jar d4d0b3b13df6291e8df6427beccc1a2694af46c6f5e9a94da5b4e8291437d569 jetty-runner dd04eef7ee4f6a9a3fce398bea09ebbbd6a0b686e6408a44bbdd954eb37dfa7f jetty-runner.initd 995d203b95c1b311537d1d58b7de3bb83cc8ef554033c235a5917b8964f4eb12 jetty-runner.confd" sha512sums="3e58424c3eb418bc6cb0752d03851bb9b40bc2be4c63c5a4d2038261f4e42a23fc615bf5a4aebc891e28cba88176ebe2c43c9a95829fd4ecb5c71e0cd1fbab8f jetty-runner-9.2.16.v20160414.jar bcf503157b94c7714355e6ff66eb87e7ef9558247b4242d02452d768cd99a6c73bd1f9aad899128fec063f8c68901d98cc41497211eacf075ae10dfe2f28557d jetty-runner a2f78a637374fb43ad0ddf58593dd31fd66f997171c54e204638cb00f67365e17346af1763273f1ebd35fca175d0df29907ddcd74745c24d766a329a19e7d4ce jetty-runner.initd 3e7e52e31f69b54ff81e741ccec8fad5afb5277affb085f6b4f42d643a5609a75e8b6f83fff33c24e41866a42e698de72d687ba5f6cf74825b40ac8c7dda57b3 jetty-runner.confd"