ayaports/user/papermc-plugin-worldedit/APKBUILD

29 lines
937 B
Text

# Contributor: Antoine Martin (ayakael) <dev@ayakael.net>
# Maintainer: Antoine Martin (ayakael) <dev@ayakael.net>
pkgname=papermc-plugin-worldedit
pkgver=7.3.9
_pkgver=$pkgver
pkgrel=0
pkgdesc="WorldEdit is an easy-to-use in-game Minecraft map editor"
arch='noarch !aarch64'
url="https://github.com/EngineHub/WorldEdit"
license="GPL-3.0"
depends="papermc>=1.13.2"
makedepends="openjdk21-jdk"
source="$pkgname-$pkgver.tar.gz::https://github.com/EngineHub/WorldEdit/archive/refs/tags/$pkgver.tar.gz"
builddir="$srcdir"/WorldEdit-$pkgver
build() {
./gradlew build --parallel
}
check() {
./gradlew test
}
package() {
install -Dm644 "$builddir"/worldedit-bukkit/build/libs/worldedit-bukkit-$pkgver.jar "$pkgdir/var/lib/papermc/plugins/WorldEdit.jar"
}
sha512sums="
35eb83dfcd192884a86f9bec3cbe586af6141b8c10461937b2ef112bfb4d64f5f7c6e950108a7893dc5b1054f1d0206f74ec6b4702481c0da69bf89627dbfb06 papermc-plugin-worldedit-7.3.9.tar.gz
"