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" makedepends="gradle zstd"
options="!check" options="!check"
subpackages="$pkgname-openrc" 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.initd
papermc.conf papermc.conf
papermc.sh papermc.sh
@ -22,6 +23,10 @@ build() {
./gradlew --parallel createMojmapBundlerJar ./gradlew --parallel createMojmapBundlerJar
} }
check() {
./gradlew --parallel check
}
package() { package() {
install -Dm644 "$srcdir"/$pkgname.conf "$pkgdir"/etc/conf.d/$pkgname install -Dm644 "$srcdir"/$pkgname.conf "$pkgdir"/etc/conf.d/$pkgname
install -Dm755 "$srcdir"/$pkgname.sh "$pkgdir"/usr/bin/$pkgname install -Dm755 "$srcdir"/$pkgname.sh "$pkgdir"/usr/bin/$pkgname