# Maintainer: Antoine Martin (ayakael) <dev@ayakael.net>
# Contributor: Antoine Martin (ayakael) <dev@ayakael.net>

pkgname=craftbukkit-plugin-worldedit
pkgver=7.2.8
_pkgver=$pkgver
pkgrel=1
pkgdesc="WorldEdit is an easy-to-use in-game Minecraft map editor"
options=!check
arch='noarch'
url="https://dev.bukkit.org/projects/worldedit"
license="GPL-3.0"
depends="craftbukkit>=1.13.2 craftbukkit<=1.18.1"
source="https://media.forgecdn.net/files/3559/523/worldedit-bukkit-7.2.8.jar"

package() {
	install -Dm644 "$srcdir"/worldedit-bukkit-$_pkgver.jar "$pkgdir/var/lib/craftbukkit/plugins/WorldEdit.jar"
	chown craftbukkit:craftbukkit $pkgdir/var/lib/craftbukkit/plugins/WorldEdit.jar
}
sha512sums="
b57eacf7a2d90461f996f71cf55aa2e328d7b75c724291f11bcd1ab0f7e64e980db7ae3a2a56fffdf2bc31bfbcf68dda89b7c6f2ffa32ee430b8016020d796e3  worldedit-bukkit-7.2.8.jar
"
