diff --git a/user/papermc/APKBUILD b/user/papermc/APKBUILD index c33033a..23930f7 100644 --- a/user/papermc/APKBUILD +++ b/user/papermc/APKBUILD @@ -12,7 +12,8 @@ depends='openjdk21-jdk screen sudo bash gawk sed netcat-openbsd' makedepends="gradle zstd" options="!check" subpackages="$pkgname-openrc" -source="https://ayakael.net/api/packages/mirrors/generic/papermc/$_gittag/papermc-$_gittag.tar.zst +source=" + https://ayakael.net/api/packages/mirrors/generic/papermc/$_gittag/papermc-$_gittag.tar.zst papermc.initd papermc.conf papermc.sh @@ -22,6 +23,10 @@ build() { ./gradlew --parallel createMojmapBundlerJar } +check() { + ./gradlew --parallel check +} + package() { install -Dm644 "$srcdir"/$pkgname.conf "$pkgdir"/etc/conf.d/$pkgname install -Dm755 "$srcdir"/$pkgname.sh "$pkgdir"/usr/bin/$pkgname