add check
All checks were successful
/ lint (pull_request) Successful in 28s
/ deploy-x86_64 (pull_request) Successful in 33s
/ build-x86_64 (pull_request) Successful in 4m25s
/ deploy-aarch64 (pull_request) Successful in 1m5s
/ build-aarch64 (pull_request) Successful in 15m37s

This commit is contained in:
Antoine Martin 2024-12-10 16:20:17 -05:00
parent 86f49c596a
commit 15d0ae5812
Signed by: forge
GPG key ID: D62A472A4AA7D541

View file

@ -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