ayaports/user/papermc-plugin-worldguard/APKBUILD

29 lines
1,020 B
Text

# Contributor: Antoine Martin (ayakael) <dev@ayakael.net>
# Maintainer: Antoine Martin (ayakael) <dev@ayakael.net>
pkgname=papermc-plugin-worldguard
pkgver=7.0.13_beta1
_gittag=2f13ae0444409376feb6c7674591142fe854e12e
pkgrel=0
pkgdesc="WorldGuard lets you and players guard areas of land against griefers and undesirables"
arch='noarch'
url="https://github.com/EngineHub/WorldGuard"
license="GPL-3.0"
depends="papermc>=1.17.0"
makedepends="openjdk21-jdk"
source="$pkgname-$_gittag.tar.gz::https://github.com/EngineHub/WorldGuard/archive/$_gittag.tar.gz"
builddir="$srcdir"/WorldGuard-$_gittag
build() {
./gradlew build
}
check() {
./gradlew test
}
package() {
install -Dm644 "$builddir"/worldguard-bukkit/build/libs/worldguard-bukkit-*dist.jar "$pkgdir/var/lib/papermc/plugins/WorldGuard.jar"
}
sha512sums="
755646330c17df22b1d4eb6f38fc8ea712eff86a0165f2dba6dc1bcd420d2d112547adf60a35f268f45730b8444e540d7d08a02a50df0238bf16c9ff7dc799ff papermc-plugin-worldguard-2f13ae0444409376feb6c7674591142fe854e12e.tar.gz
"