diff --git a/unmaintained/craftbukkit-plugin-worldguard/APKBUILD b/unmaintained/craftbukkit-plugin-worldguard/APKBUILD deleted file mode 100644 index 478480b..0000000 --- a/unmaintained/craftbukkit-plugin-worldguard/APKBUILD +++ /dev/null @@ -1,22 +0,0 @@ -# Maintainer: Antoine Martin (ayakael) -# Contributor: Antoine Martin (ayakael) - -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 -" diff --git a/user/papermc-plugin-worldguard/APKBUILD b/user/papermc-plugin-worldguard/APKBUILD new file mode 100644 index 0000000..bdcba69 --- /dev/null +++ b/user/papermc-plugin-worldguard/APKBUILD @@ -0,0 +1,29 @@ +# Contributor: Antoine Martin (ayakael) +# Maintainer: Antoine Martin (ayakael) +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 +"