user/papermc-plugin-worldguard: move from unmaintained, upgrade to 7.0.13_b2, add build function
Some checks failed
/ deploy-x86_64 (pull_request) Has been skipped
/ build-x86_64 (pull_request) Failing after 48s
/ lint (pull_request) Failing after 40s
/ build-aarch64 (pull_request) Failing after 1m20s
/ deploy-aarch64 (pull_request) Has been skipped

This commit is contained in:
Antoine Martin 2024-12-24 14:39:28 -05:00
parent 233a098355
commit 3f2152e88b
Signed by: forge
GPG key ID: D62A472A4AA7D541
2 changed files with 29 additions and 22 deletions

View file

@ -1,22 +0,0 @@
# Maintainer: Antoine Martin (ayakael) <dev@ayakael.net>
# Contributor: Antoine Martin (ayakael) <dev@ayakael.net>
pkgname=craftbukkit-plugin-worldedit
pkgver=7.0.6
_pkgver=$pkgver
pkgrel=3
pkgdesc="WorldGuard lets you and players guard areas of land against griefers and undesirables"
options=!check
arch='noarch'
url="https://dev.bukkit.org/projects/worldguard"
license="GPL-3.0"
depends="craftbukkit>=1.17.0 craftbukkit<=1.18.1"
source="https://media.forgecdn.net/files/3461/546/worldguard-bukkit-7.0.6-dist.jar"
package() {
install -Dm644 "$srcdir"/worldguard-bukkit-$_pkgver-dist.jar "$pkgdir/var/lib/craftbukkit/plugins/WorldGuard.jar"
chown craftbukkit:craftbukkit $pkgdir/var/lib/craftbukkit/plugins/WorldGuard.jar
}
sha512sums="
f2f857ffbbe7896b8986d5944564d7ab01e51d86476e05c66067a57d83dcb2ee60019ab9d75b16d551e9cfe102d29a602de41f316da57d7743d2595d6a11d839 worldguard-bukkit-7.0.6-dist.jar
"

View file

@ -0,0 +1,29 @@
# Contributor: Antoine Martin (ayakael) <dev@ayakael.net>
# Maintainer: Antoine Martin (ayakael) <dev@ayakael.net>
pkgname=papermc-plugin-worldguard
pkgver=7.0.13_b2
_gittag=5c4848b8fd6e386a8de701f5a948d02ec6196748
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"/WorldEdit-$_gittag
build() {
./gradlew build
}
check() {
./gradlew test
}
package() {
install -Dm644 "$srcdir"/worldguard-bukkit-$_pkgver-dist.jar "$pkgdir/var/lib/papermc/plugins/WorldGuard.jar"
}
sha512sums="
15d7fe47e30c3380f7e64c15515569f70db0b54ee9e247ee6da9be124278962ab9d352254e6f722819b14fc8fc2f7af82afcde59c14616084a733ee926673ca7 papermc-plugin-worldguard-5c4848b8fd6e386a8de701f5a948d02ec6196748.tar.gz
"