# Contributor: Alex Denes # Maintainer: pkgname=spigot pkgver=1.16.5 pkgrel=0 _buildno=126 pkgdesc="Spigot server implementation" url="https://www.spigotmc.org/wiki/buildtools/#linux" arch="noarch" license="propietary" depends="openjdk8-jre" makedepends="git openjdk8 bash" # TODO: Find a way to use packaged maven subpackages="$pkgname-openrc" source=" $pkgname-BuildTools-$_buildno.jar::https://hub.spigotmc.org/jenkins/job/BuildTools/$_buildno/artifact/target/BuildTools.jar spigot.initd " builddir="$srcdir/" options="!check" build() { /usr/lib/jvm/java-8-openjdk/jre/bin/java -jar "$pkgname-BuildTools-$_buildno.jar" --rev "$pkgver" cat > spigot.sh <