add check
All checks were successful
All checks were successful
This commit is contained in:
parent
86f49c596a
commit
15d0ae5812
1 changed files with 6 additions and 1 deletions
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue