Compare commits
14 commits
rapidfuzz/
...
edge
Author | SHA1 | Date | |
---|---|---|---|
aa7f92dd6e | |||
648e4d3b84 | |||
0a990a5021 | |||
5d3ff7043c | |||
d31452f43a | |||
382b03e3f2 | |||
56a29dc807 | |||
233a098355 | |||
9ee55e001b | |||
a053fd35f3 | |||
88d9198fee | |||
9e7a9c464e | |||
0a88d5c3a3 | |||
f853f9956d |
26 changed files with 417 additions and 386 deletions
|
@ -108,7 +108,7 @@ set_repositories_for() {
|
|||
[ "$repo" = "$target_repo" ] && break
|
||||
done
|
||||
doas sh -c "printf '%s\n' $repos >> /etc/apk/repositories"
|
||||
doas apk update
|
||||
doas apk update || true
|
||||
}
|
||||
|
||||
apply_offset_limit() {
|
||||
|
|
|
@ -22,6 +22,12 @@ for pkg in $owned_by_you; do
|
|||
downstream_version=$(sed -n "/^P:$pkg$/,/^$/p" APKINDEX | awk -F ':' '{if($1=="V"){print $2}}' | sort -V | tail -n 1)
|
||||
downstream_version=${downstream_version/-*}
|
||||
|
||||
# special cases
|
||||
case $pkg in
|
||||
freetube) upstream_version=$(curl --fail -X GET -sS -H 'Content-Type: application/json' "https://release-monitoring.org/api/v2/packages/?name=$pkg&distribution=Alpine" | jq -r '.items.[].version' | sed "s|-beta||");;
|
||||
dotnet9-sdk|dotnet9-stage0) upstream_version=${upstream_version/-*};;
|
||||
esac
|
||||
|
||||
if [ -z "$upstream_version" ]; then
|
||||
echo "$pkg not in anitya"
|
||||
echo "$pkg" >> not_in_anitya
|
||||
|
|
|
@ -5,23 +5,24 @@ Upstream: https://ayakael.net/forge/ayaports
|
|||
|
||||
This repository contains aports that are not yet merged in the official Alpine
|
||||
Linux repository or don’t adhere to Alpine polices. Packages are automatically
|
||||
built using CI. Once built, they are deployed to a git-lfs repository, making
|
||||
built using CI. Once built, they are deployed to a Forgejo repository, making
|
||||
them available to apk.
|
||||
|
||||
Branches are matched to Alpine releases.
|
||||
|
||||
## Repositories
|
||||
|
||||
You can browse all the repositories at https://codeberg.org/ayakael/ayaports
|
||||
You can browse all the repositories at https://ayakael.net/forge/ayaports
|
||||
Affixed to each repository description is the appropriate link for use in
|
||||
`/etc/apk/repositories`.
|
||||
|
||||
#### Backports
|
||||
```
|
||||
https://ayakael.net/api/packages/forge/alpine/edge/backports
|
||||
https://ayakael.net/api/packages/forge/alpine/v3.21/backports
|
||||
```
|
||||
|
||||
Aports from the official Alpine repositories backported from edge.
|
||||
Aports from the official Alpine repositories backported from edge. This is only
|
||||
available and kept up-to-date on latest stable release.
|
||||
|
||||
#### User
|
||||
```
|
||||
|
|
|
@ -1,56 +0,0 @@
|
|||
# Contributor: Marian Buschsieweke <marian.buschsieweke@posteo.net>
|
||||
# Maintainer: Marian Buschsieweke <marian.buschsieweke@posteo.net>
|
||||
pkgname=py3-rapidjson
|
||||
pkgver=1.12
|
||||
pkgrel=1
|
||||
pkgdesc="Python3 wrapper around RapidJSON"
|
||||
url="https://github.com/python-rapidjson/python-rapidjson"
|
||||
arch="all"
|
||||
license="MIT"
|
||||
depends="
|
||||
python3
|
||||
"
|
||||
makedepends="
|
||||
py3-gpep517
|
||||
py3-setuptools
|
||||
py3-wheel
|
||||
python3-dev
|
||||
rapidjson-dev
|
||||
"
|
||||
checkdepends="
|
||||
py3-pytest
|
||||
py3-tz
|
||||
"
|
||||
source="$pkgname-$pkgver.tar.gz::https://github.com/python-rapidjson/python-rapidjson/archive/refs/tags/v$pkgver.tar.gz"
|
||||
builddir="$srcdir/"python-rapidjson-$pkgver
|
||||
|
||||
prepare() {
|
||||
default_prepare
|
||||
|
||||
# workaround setup.py complaining about "sources not found"
|
||||
mkdir -v rapidjson/include
|
||||
}
|
||||
|
||||
build() {
|
||||
gpep517 build-wheel \
|
||||
--wheel-dir .dist \
|
||||
--output-fd 3 3>&1 >&2
|
||||
}
|
||||
|
||||
check() {
|
||||
PYTHONPATH="$(echo "$PWD"/build/lib.linux*)" pytest \
|
||||
--ignore benchmarks \
|
||||
--deselect tests/test_base_types.py::test_base_values \
|
||||
--deselect tests/test_unicode.py::test_unicode_decode_error \
|
||||
--deselect tests/test_validator.py::test_additional_and_pattern_properties_valid \
|
||||
#
|
||||
}
|
||||
|
||||
package() {
|
||||
python3 -m installer -d "$pkgdir" \
|
||||
.dist/*.whl
|
||||
}
|
||||
|
||||
sha512sums="
|
||||
15d021491c64db53352830d8f3f62c8b48476fcb001f97c174bcbb9053d973eb135ceb92f14290a58f6ad6c5dfb24d02f6385c8cad70f4a74f5a5726aa0728e7 py3-rapidjson-1.12.tar.gz
|
||||
"
|
|
@ -1,108 +0,0 @@
|
|||
# Maintainer: Antoine Martin (ayakael) <dev@ayakael.net>
|
||||
# Contributor: Antoine Martin (ayakael) <dev@ayakael.net>
|
||||
|
||||
pkgname=craftbukkit-plugin-essentialx
|
||||
_pkgver=2.19.2
|
||||
_buildver=release
|
||||
_buildcommit=0
|
||||
pkgrel=2
|
||||
pkgdesc="EssentialsX is the essential plugin suite for Minecraft servers, with over 130 commands for servers of all size and scale."
|
||||
options=!check
|
||||
arch='noarch'
|
||||
url="https://essentialsx.net/"
|
||||
license="GPL-3.0"
|
||||
depends="craftbukkit>=1.8.8 craftbukkit<=1.18.1"
|
||||
|
||||
if _buildver=release; then
|
||||
pkgver=$_pkgver
|
||||
_url=https://github.com/EssentialsX/Essentials/releases/download/$pkgver
|
||||
_filename="$pkgver.jar"
|
||||
else
|
||||
pkgver=$_pkgver.$_buildver
|
||||
_url=https://ci.ender.zone/job/EssentialsX/lastSuccessfulBuild/artifact/jars
|
||||
_filename="$_pkgver-dev+$_buildver-$_buildcommit.jar"
|
||||
fi
|
||||
|
||||
source="
|
||||
$_url/EssentialsX-$_filename
|
||||
$_url/EssentialsXChat-$_filename
|
||||
$_url/EssentialsXSpawn-$_filename
|
||||
$_url/EssentialsXAntiBuild-$_filename
|
||||
$_url/EssentialsXDiscord-$_filename
|
||||
$_url/EssentialsXGeoIP-$_filename
|
||||
$_url/EssentialsXProtect-$_filename
|
||||
$_url/EssentialsXXMPP-$_filename
|
||||
"
|
||||
|
||||
subpackages="$pkgname-core $pkgname-chat $pkgname-spawn $pkgname-antibuild $pkgname-discord $pkgname-geo $pkgname-protect $pkgname-xmpp"
|
||||
|
||||
|
||||
package() {
|
||||
mkdir -p "$pkgdir"
|
||||
}
|
||||
|
||||
core() {
|
||||
pkgdesc="Core functionality: teleports, private messages, homes, warps and more"
|
||||
install -Dm644 "$srcdir"/EssentialsX-*.jar "$subpkgdir/var/lib/craftbukkit/plugins/Essentials.jar"
|
||||
chown craftbukkit:craftbukkit "$subpkgdir"/var/lib/craftbukkit/plugins/Essentials.jar
|
||||
}
|
||||
|
||||
chat() {
|
||||
pkgdesc="Chat formatting, local chat"
|
||||
depends="$pkgname-core"
|
||||
install -Dm644 "$srcdir"/EssentialsXChat-*.jar "$subpkgdir/var/lib/craftbukkit/plugins/EssentialsChat.jar"
|
||||
chown craftbukkit:craftbukkit "$subpkgdir"/var/lib/craftbukkit/plugins/EssentialsChat.jar
|
||||
}
|
||||
|
||||
spawn() {
|
||||
pkgdesc="Spawnpoint control, per-player spawns"
|
||||
depends="$pkgname-core"
|
||||
install -Dm644 "$srcdir"/EssentialsXSpawn-*.jar "$subpkgdir/var/lib/craftbukkit/plugins/EssentialsSpawn.jar"
|
||||
chown craftbukkit:craftbukkit "$subpkgdir"/var/lib/craftbukkit/plugins/EssentialsSpawn.jar
|
||||
}
|
||||
|
||||
antibuild() {
|
||||
pkgdesc="Simple permissions-based building control"
|
||||
depends="$pkgname-core"
|
||||
install -Dm644 "$srcdir"/EssentialsXAntiBuild-*.jar "$subpkgdir/var/lib/craftbukkit/plugins/EssentialsAntiBuild.jar"
|
||||
chown craftbukkit:craftbukkit "$subpkgdir"/var/lib/craftbukkit/plugins/EssentialsAntiBuild.jar
|
||||
}
|
||||
|
||||
discord() {
|
||||
pkgdesc="Lightweight chat, messaging and command integration with Discord"
|
||||
depends="$pkgname-core"
|
||||
install -Dm644 "$srcdir"/EssentialsXDiscord-*.jar "$subpkgdir/var/lib/craftbukkit/plugins/EssentialsDiscord.jar"
|
||||
chown craftbukkit:craftbukkit "$subpkgdir"/var/lib/craftbukkit/plugins/EssentialsDiscord.jar
|
||||
}
|
||||
|
||||
geo() {
|
||||
pkgdesc="Geographical player lookup (formerly EssentialsX GeoIP)"
|
||||
depends="$pkgname-core"
|
||||
install -Dm644 "$srcdir"/EssentialsXGeoIP-*.jar "$subpkgdir/var/lib/craftbukkit/plugins/EssentialsGeo.jar"
|
||||
chown craftbukkit:craftbukkit "$subpkgdir"/var/lib/craftbukkit/plugins/EssentialsGeo.jar
|
||||
}
|
||||
|
||||
protect() {
|
||||
pkgdesc="Configurable world protection and control"
|
||||
depends="$pkgname-core"
|
||||
install -Dm644 "$srcdir"/EssentialsXProtect-*.jar "$subpkgdir/var/lib/craftbukkit/plugins/EssentialsProtect.jar"
|
||||
chown craftbukkit:craftbukkit "$subpkgdir"/var/lib/craftbukkit/plugins/EssentialsProtect.jar
|
||||
}
|
||||
|
||||
xmpp() {
|
||||
pkgdesc="Lightweight chat, messaging and server log integration with Jabber/XMPP services"
|
||||
depends="$pkgname-core"
|
||||
install -Dm644 "$srcdir"/EssentialsXXMPP-*.jar "$subpkgdir/var/lib/craftbukkit/plugins/EssentialsXMPP.jar"
|
||||
chown craftbukkit:craftbukkit "$subpkgdir"/var/lib/craftbukkit/plugins/EssentialsXMPP.jar
|
||||
}
|
||||
|
||||
sha512sums="
|
||||
c91c0905c11482d93b1565f8b9dce7b6f939567b4cb2756b112ee408bdcca1fece04742f9b7b0876d5b2e84cebdbc555d35cf783e9e86ab12fafb9dc02bc6008 EssentialsX-2.19.2.jar
|
||||
e2df6f242db38689579501b34763ad7d4b5e8ddd87b7b57956c6b5cc667f1b34af6b1289d668a64761da63f8ae8507eb9687ca490cc715a3eff6338770963240 EssentialsXChat-2.19.2.jar
|
||||
24e41168428f20bd6506282b9920718c43f7e5227bf35e174522e49859e294048a1d979ae42044bdbdba45c8a1109f4db6ffd0e24d5f3e909d0f9a3ac31e21d3 EssentialsXSpawn-2.19.2.jar
|
||||
326ec004241b526965cb67ae0f0245dfa960da2fdb4b59d867eb08e5196fceb468f9314cb838c8a0bc513cc55f43cf58023d11b18ed98e472be7089838538f97 EssentialsXAntiBuild-2.19.2.jar
|
||||
211c575adde17c3f2f901144e5c31beb2918df7e6e15f8ebe16805d3b53214a4756b87ec84466790ebf1dacb41e1aea97b6a9ba8ed39e85092293a821044d579 EssentialsXDiscord-2.19.2.jar
|
||||
7845e7666f983d3e793528a7085ced7c9f1bf881740bcc68b6a54fea74e31c3c0c2a52e26fc20330ba7d4a190dad0a1b27195fed0e1417a48494c5fa2ac60d92 EssentialsXGeoIP-2.19.2.jar
|
||||
e74ed72a15b5e6cd3c5f61d032a26c151865e3197638c9059237dc2d1144b0cb15668545532fc532ac8ec247bdf9b9ee6843b8f4af7506aef86d155dd5672c5f EssentialsXProtect-2.19.2.jar
|
||||
8d35009499557700f49c27ca3132e866f511a200791dbcfd2f595396977058cc2fc9349d0b4eaa0eb67b27331e91e6209df6ed57a766c06fd3b3325718462478 EssentialsXXMPP-2.19.2.jar
|
||||
"
|
|
@ -1,23 +0,0 @@
|
|||
# Maintainer: Antoine Martin (ayakael) <dev@ayakael.net>
|
||||
# Contributor: Antoine Martin (ayakael) <dev@ayakael.net>
|
||||
|
||||
pkgname=craftbukkit-plugin-luckperms
|
||||
_pkgver=5.3.89
|
||||
_buildver=1389
|
||||
pkgver=$_pkgver.$_buildver
|
||||
pkgrel=1
|
||||
pkgdesc="An advanced permissions plugin for Bukkit/Spigot, BungeeCord and Sponge."
|
||||
options=!check
|
||||
arch='noarch'
|
||||
url="https://github.com/lucko/LuckPerms"
|
||||
license="MIT"
|
||||
depends="craftbukkit>=1.8.8 craftbukkit<=1.18.1"
|
||||
source="https://ci.lucko.me/job/LuckPerms/$_buildver/artifact/bukkit/loader/build/libs/LuckPerms-Bukkit-$_pkgver.jar"
|
||||
|
||||
package() {
|
||||
install -Dm644 "$srcdir"/LuckPerms-Bukkit-$_pkgver.jar "$pkgdir/var/lib/craftbukkit/plugins/LuckPerms.jar"
|
||||
chown craftbukkit:craftbukkit "$pkgdir"/var/lib/craftbukkit/plugins/LuckPerms.jar
|
||||
}
|
||||
sha512sums="
|
||||
7e146616cdf7f667c483bbe2112439c85f32427e9aa3714f0b0e869abf0cde6aacc7341d8d9e6a72ddcf8f35af840f4ba678c4690222912113f497cafce11154 LuckPerms-Bukkit-5.3.89.jar
|
||||
"
|
|
@ -1,22 +0,0 @@
|
|||
# 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
|
||||
"
|
|
@ -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
|
||||
"
|
|
@ -1,56 +0,0 @@
|
|||
# Maintainer: Antoine Martin (ayakael) <dev@ayakael.net>
|
||||
# Contributor: Antoine Martin (ayakael) <dev@ayakael.net>
|
||||
|
||||
pkgname=papermc
|
||||
_pkgver=1.18.1
|
||||
_build=99
|
||||
_license_commit=4a7962c
|
||||
pkgver="$_pkgver.$_build"
|
||||
pkgrel=1
|
||||
pkgdesc="Next generation of Minecraft server, compatible with Spigot plugins and offering uncompromising performance"
|
||||
pkgusers="craftbukkit"
|
||||
pkggroups="craftbukkit"
|
||||
arch='noarch'
|
||||
url="https://papermc.io/"
|
||||
license='custom'
|
||||
depends='openjdk17-jre-headless screen sudo bash gawk sed netcat-openbsd tar'
|
||||
options="!check"
|
||||
provides="craftbukkit=$_pkgver"
|
||||
subpackages="$pkgname-openrc"
|
||||
source="papermc.$pkgver.jar::https://papermc.io/api/v2/projects/paper/versions/$_pkgver/builds/$_build/downloads/paper-$_pkgver-$_build.jar
|
||||
papermc.initd
|
||||
papermc.conf
|
||||
papermc.sh
|
||||
LICENSE_$pkgver.md::https://raw.githubusercontent.com/PaperMC/Paper/$_license_commit/LICENSE.md
|
||||
"
|
||||
|
||||
_game="papermc"
|
||||
_server_root="/var/lib/papermc"
|
||||
|
||||
package() {
|
||||
install -Dm644 "$srcdir"/$_game.conf "$pkgdir"/etc/conf.d/$_game
|
||||
install -Dm755 "$srcdir"/$_game.sh "$pkgdir"/usr/bin/$_game
|
||||
install -Dm755 "$srcdir"/$_game.initd "$pkgdir"/etc/init.d/$_game
|
||||
install -Dm644 "$srcdir"/$_game.$pkgver.jar "$pkgdir"/$_server_root/$_game/$pkgver.jar
|
||||
ln -s "$_game"/$pkgver.jar "$pkgdir"/$_server_root/$_game/server.jar
|
||||
|
||||
# Link to craftbukkit plugins var
|
||||
ln -s "/var/lib/craftbukkit/plugins" "$pkgdir"/$_server_root/plugins
|
||||
|
||||
# Link the log files
|
||||
mkdir -p "$pkgdir"/var/log/
|
||||
install -dm2755 "$pkgdir"/$_server_root/logs
|
||||
ln -s "$_server_root"/logs "$pkgdir"/var/log/$_game
|
||||
|
||||
# Give the group write permissions and set user or group ID on execution
|
||||
chmod g+ws "$pkgdir"/$_server_root
|
||||
|
||||
install -D "$srcdir"/LICENSE_$pkgver.md "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
|
||||
}
|
||||
sha512sums="
|
||||
623d6423ee337671d546469e6bf1821005484192a1ae56d7b77f547f79102df50462e1d0144be13a0de9021c9d931bc974143b1e1526114627ba28688589d76a papermc.1.18.1.99.jar
|
||||
c5d1bf85ceb74162aaaf2bcd2d06dc2e3dd2e37c39f0cee2be7c8dbff9970a6aff1e48a43e6d1e83e6a0ac610bd89f62b1279bf27b64afa88d9831a36aebbd3e papermc.initd
|
||||
9b8e267428731ee9255f82a93f1e8674d7e917a0f154bd395cd2280a49aa248a4b8427520b08dbb4b3a74a5471dac0e439eedc8ab94bf2e53bb8d411d2d8a789 papermc.conf
|
||||
943ba0d4c10173246bdc6497dcedd54da0788f966841c8d3381398711d79f8d5eb07a24ce28f519b6f24f59d99fa9e74bc6bb882059f343df4eeda5de3660ac7 papermc.sh
|
||||
d4c645a58e1a17a0a1e42856a3cc43097711a05bf3d9f18c77c3bc9874417f223552859042ff00b7d3dda0003f49a9ee568540c2eb24e9f8fbb3c055f3b6e0a5 LICENSE_1.18.1.99.md
|
||||
"
|
|
@ -1,56 +0,0 @@
|
|||
# Maintainer: Antoine Martin (ayakael) <dev@ayakael.net>
|
||||
# Contributor: Antoine Martin (ayakael) <dev@ayakael.net>
|
||||
|
||||
pkgname=papermc
|
||||
_pkgver=1.18.1
|
||||
_build=99
|
||||
_license_commit=4a7962c
|
||||
pkgver="$_pkgver.$_build"
|
||||
pkgrel=1
|
||||
pkgdesc="Next generation of Minecraft server, compatible with Spigot plugins and offering uncompromising performance"
|
||||
pkgusers="craftbukkit"
|
||||
pkggroups="craftbukkit"
|
||||
arch='noarch'
|
||||
url="https://papermc.io/"
|
||||
license='custom'
|
||||
depends='openjdk17-jre-headless screen sudo bash gawk sed netcat-openbsd tar'
|
||||
options="!check"
|
||||
provides="craftbukkit=$_pkgver"
|
||||
subpackages="$pkgname.openrc"
|
||||
source="papermc.$pkgver.jar::https://papermc.io/api/v2/projects/paper/versions/$_pkgver/builds/$_build/downloads/paper-$_pkgver-$_build.jar
|
||||
papermc.initd
|
||||
papermc.conf
|
||||
papermc.sh
|
||||
LICENSE_$pkgver.md::https://raw.githubusercontent.com/PaperMC/Paper/$_license_commit/LICENSE.md
|
||||
"
|
||||
|
||||
_game="papermc"
|
||||
_server_root="/var/lib/papermc"
|
||||
|
||||
package() {
|
||||
install -Dm644 $srcdir.$_game.conf "$pkgdir.etc/conf.d/$_game"
|
||||
install -Dm755 $srcdir.$_game.sh "$pkgdir.usr/bin/$_game"
|
||||
install -Dm755 $srcdir.$_game.initd "$pkgdir.etc/init.d/$_game"
|
||||
install -Dm644 $srcdir.$_game.$pkgver.jar "$pkgdir.$_server_root.$_game.$pkgver.jar"
|
||||
ln -s "$_game.$pkgver.jar" "$pkgdir._server_root.$_game.server.jar"
|
||||
|
||||
# Link to craftbukkit plugins var
|
||||
ln -s "/var/lib/craftbukkit/plugins" "$pkgdir.$_server_root.plugins"
|
||||
|
||||
# Link the log files
|
||||
mkdir -p "$pkgdir.var/log/"
|
||||
install -dm2755 "$pkgdir.$_server_root.logs"
|
||||
ln -s "$_server_root.logs" "$pkgdir.var/log/$_game"
|
||||
|
||||
# Give the group write permissions and set user or group ID on execution
|
||||
chmod g+ws "$pkgdir._server_root"
|
||||
|
||||
install -D $srcdir../LICENSE_$pkgver.md "$pkgdir.usr/share/licenses/$pkgname.LICENSE"
|
||||
}
|
||||
sha512sums="
|
||||
623d6423ee337671d546469e6bf1821005484192a1ae56d7b77f547f79102df50462e1d0144be13a0de9021c9d931bc974143b1e1526114627ba28688589d76a papermc.1.18.1.99.jar
|
||||
c5d1bf85ceb74162aaaf2bcd2d06dc2e3dd2e37c39f0cee2be7c8dbff9970a6aff1e48a43e6d1e83e6a0ac610bd89f62b1279bf27b64afa88d9831a36aebbd3e papermc.initd
|
||||
9b8e267428731ee9255f82a93f1e8674d7e917a0f154bd395cd2280a49aa248a4b8427520b08dbb4b3a74a5471dac0e439eedc8ab94bf2e53bb8d411d2d8a789 papermc.conf
|
||||
943ba0d4c10173246bdc6497dcedd54da0788f966841c8d3381398711d79f8d5eb07a24ce28f519b6f24f59d99fa9e74bc6bb882059f343df4eeda5de3660ac7 papermc.sh
|
||||
d4c645a58e1a17a0a1e42856a3cc43097711a05bf3d9f18c77c3bc9874417f223552859042ff00b7d3dda0003f49a9ee568540c2eb24e9f8fbb3c055f3b6e0a5 LICENSE_1.18.1.99.md
|
||||
"
|
|
@ -1,38 +0,0 @@
|
|||
--- user/papermc/APKBUILD
|
||||
+++ user/papermc/APKBUILD
|
||||
@@ -28,24 +28,24 @@ _game="papermc"
|
||||
_server_root="/var/lib/papermc"
|
||||
|
||||
package() {
|
||||
- install -Dm644 $srcdir.$_game.conf "$pkgdir.etc/conf.d/$_game"
|
||||
- install -Dm755 $srcdir.$_game.sh "$pkgdir.usr/bin/$_game"
|
||||
- install -Dm755 $srcdir.$_game.initd "$pkgdir.etc/init.d/$_game"
|
||||
- install -Dm644 $srcdir.$_game.$pkgver.jar "$pkgdir.$_server_root.$_game.$pkgver.jar"
|
||||
- ln -s "$_game.$pkgver.jar" "$pkgdir._server_root.$_game.server.jar"
|
||||
+ install -Dm644 "$srcdir"/$_game.conf "$pkgdir"/etc/conf.d/$_game
|
||||
+ install -Dm755 "$srcdir"/$_game.sh "$pkgdir"/usr/bin/$_game
|
||||
+ install -Dm755 "$srcdir"/$_game.initd "$pkgdir"/etc/init.d/$_game
|
||||
+ install -Dm644 "$srcdir"/$_game.$pkgver.jar "$pkgdir"/$_server_root/$_game/$pkgver.jar
|
||||
+ ln -s "$_game"/$pkgver.jar "$pkgdir"/$_server_root/$_game/server.jar
|
||||
|
||||
# Link to craftbukkit plugins var
|
||||
- ln -s "/var/lib/craftbukkit/plugins" "$pkgdir.$_server_root.plugins"
|
||||
+ ln -s "/var/lib/craftbukkit/plugins" "$pkgdir"/$_server_root/plugins
|
||||
|
||||
# Link the log files
|
||||
- mkdir -p "$pkgdir.var/log/"
|
||||
- install -dm2755 "$pkgdir.$_server_root.logs"
|
||||
- ln -s "$_server_root.logs" "$pkgdir.var/log/$_game"
|
||||
+ mkdir -p "$pkgdir"/var/log/
|
||||
+ install -dm2755 "$pkgdir"/$_server_root/logs
|
||||
+ ln -s "$_server_root"/logs "$pkgdir"/var/log/$_game
|
||||
|
||||
# Give the group write permissions and set user or group ID on execution
|
||||
- chmod g+ws "$pkgdir._server_root"
|
||||
+ chmod g+ws "$pkgdir"/$_server_root
|
||||
|
||||
- install -D $srcdir../LICENSE_$pkgver.md "$pkgdir.usr/share/licenses/$pkgname.LICENSE"
|
||||
+ install -D "$srcdir"/LICENSE_$pkgver.md "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
|
||||
}
|
||||
sha512sums="
|
||||
623d6423ee337671d546469e6bf1821005484192a1ae56d7b77f547f79102df50462e1d0144be13a0de9021c9d931bc974143b1e1526114627ba28688589d76a papermc.1.18.1.99.jar
|
79
user/papermc-plugin-essentialsx/APKBUILD
Normal file
79
user/papermc-plugin-essentialsx/APKBUILD
Normal file
|
@ -0,0 +1,79 @@
|
|||
# Contributor: Antoine Martin (ayakael) <dev@ayakael.net>
|
||||
# Maintainer: Antoine Martin (ayakael) <dev@ayakael.net>
|
||||
pkgname=papermc-plugin-essentialsx
|
||||
pkgver=2.21.0_pre151
|
||||
_gittag=f2af9528b0f99f2ff121dda2607e51d391a2a8bf
|
||||
pkgrel=0
|
||||
pkgdesc="EssentialsX is the essential plugin suite for Minecraft servers, with over 130 commands for servers of all size and scale."
|
||||
arch='noarch'
|
||||
url="https://essentialsx.net/"
|
||||
license="GPL-3.0"
|
||||
depends="
|
||||
papermc>=1.8.8
|
||||
papermc-plugin-luckperms
|
||||
papermc-plugin-vault
|
||||
"
|
||||
makedepends="openjdk21-jdk"
|
||||
source="$pkgname-$_gittag.tar.gz::https://github.com/EssentialsX/Essentials/archive/$_gittag.tar.gz"
|
||||
builddir="$srcdir"/Essentials-$_gittag
|
||||
|
||||
subpackages="$pkgname-chat $pkgname-spawn $pkgname-antibuild $pkgname-discord $pkgname-geo $pkgname-protect $pkgname-xmpp"
|
||||
|
||||
build() {
|
||||
./gradlew build
|
||||
}
|
||||
|
||||
check() {
|
||||
./gradlew test
|
||||
}
|
||||
|
||||
package() {
|
||||
install -Dm644 "$builddir"/jars/EssentialsX-*.jar "$pkgdir/var/lib/papermc/plugins/Essentials.jar"
|
||||
}
|
||||
|
||||
chat() {
|
||||
pkgdesc="Chat formatting, local chat"
|
||||
depends="$pkgname"
|
||||
install -Dm644 "$builddir"/jars/EssentialsXChat-*.jar "$subpkgdir/var/lib/papermc/plugins/EssentialsChat.jar"
|
||||
}
|
||||
|
||||
spawn() {
|
||||
pkgdesc="Spawnpoint control, per-player spawns"
|
||||
depends="$pkgname"
|
||||
install -Dm644 "$builddir"/jars/EssentialsXSpawn-*.jar "$subpkgdir/var/lib/papermc/plugins/EssentialsSpawn.jar"
|
||||
}
|
||||
|
||||
antibuild() {
|
||||
pkgdesc="Simple permissions-based building control"
|
||||
depends="$pkgname"
|
||||
install -Dm644 "$builddir"/jars/EssentialsXAntiBuild-*.jar "$subpkgdir/var/lib/papermc/plugins/EssentialsAntiBuild.jar"
|
||||
}
|
||||
|
||||
discord() {
|
||||
pkgdesc="Lightweight chat, messaging and command integration with Discord"
|
||||
depends="$pkgname"
|
||||
install -Dm644 "$builddir"/jars/EssentialsXDiscord-*.jar "$subpkgdir/var/lib/papermc/plugins/EssentialsDiscord.jar"
|
||||
install -Dm644 "$builddir"/jars/EssentialsXDiscordLink-*.jar "$subpkgdir/var/lib/papermc/plugins/EssentialsDiscordLink.jar"
|
||||
}
|
||||
|
||||
geo() {
|
||||
pkgdesc="Geographical player lookup (formerly EssentialsX GeoIP)"
|
||||
depends="$pkgname"
|
||||
install -Dm644 "$builddir"/jars/EssentialsXGeoIP-*.jar "$subpkgdir/var/lib/papermc/plugins/EssentialsGeo.jar"
|
||||
}
|
||||
|
||||
protect() {
|
||||
pkgdesc="Configurable world protection and control"
|
||||
depends="$pkgname"
|
||||
install -Dm644 "$builddir"/jars/EssentialsXProtect-*.jar "$subpkgdir/var/lib/papermc/plugins/EssentialsProtect.jar"
|
||||
}
|
||||
|
||||
xmpp() {
|
||||
pkgdesc="Lightweight chat, messaging and server log integration with Jabber/XMPP services"
|
||||
depends="$pkgname"
|
||||
install -Dm644 "$builddir"/jars/EssentialsXXMPP-*.jar "$subpkgdir/var/lib/papermc/plugins/EssentialsXMPP.jar"
|
||||
}
|
||||
|
||||
sha512sums="
|
||||
5fabf6b2091f7182ff23ca02e2f93ff22527668d55bbf60977ad414881c201bdc4608fe3618ca0d1312beb8fe8768f36cd792099817a0205f791ab2f9b212e04 papermc-plugin-essentialsx-f2af9528b0f99f2ff121dda2607e51d391a2a8bf.tar.gz
|
||||
"
|
34
user/papermc-plugin-luckperms/APKBUILD
Normal file
34
user/papermc-plugin-luckperms/APKBUILD
Normal file
|
@ -0,0 +1,34 @@
|
|||
# Contributor: Antoine Martin (ayakael) <dev@ayakael.net>
|
||||
# Maintainer: Antoine Martin (ayakael) <dev@ayakael.net>
|
||||
pkgname=papermc-plugin-luckperms
|
||||
pkgver=5.4.151
|
||||
_gittag=0fef481d480737528491fc0b3b8487eb1612f955
|
||||
pkgrel=0
|
||||
pkgdesc="An advanced permissions plugin for Bukkit/Spigot, BungeeCord and Sponge."
|
||||
arch='noarch'
|
||||
url="https://github.com/lucko/LuckPerms"
|
||||
license="MIT"
|
||||
depends="papermc>=1.8.8"
|
||||
makedepends="openjdk21-jdk"
|
||||
source="$pkgname-$_gittag.tar.gz::https://github.com/LuckPerms/LuckPerms/archive/$_gittag.tar.gz"
|
||||
builddir="$srcdir"/LuckPerms-$_gittag
|
||||
|
||||
prepare() {
|
||||
default_prepare
|
||||
sed -i "s|project.ext.patchVersion = determinePatchVersion()|project.ext.patchVersion = '${pkgver##*.}'|" build.gradle
|
||||
}
|
||||
|
||||
build() {
|
||||
./gradlew build
|
||||
}
|
||||
|
||||
check() {
|
||||
./gradlew test
|
||||
}
|
||||
|
||||
package() {
|
||||
install -Dm644 "$builddir"/bukkit/loader/build/libs/LuckPerms-Bukkit-*.jar "$pkgdir/var/lib/papermc/plugins/LuckPerms.jar"
|
||||
}
|
||||
sha512sums="
|
||||
e016d2a161472974cc75151e1a6cb3495881d4db7e0aa75d81a1c54fd16d191fe721b1f9fadeaac0bef7ec4a7c47329a2cf367cf3a7577b284077ec173db0579 papermc-plugin-luckperms-0fef481d480737528491fc0b3b8487eb1612f955.tar.gz
|
||||
"
|
Binary file not shown.
|
@ -0,0 +1,33 @@
|
|||
From 2022cb08922caa42aa77faca254c9b7d7506bee8 Mon Sep 17 00:00:00 2001
|
||||
From: Geolykt <admin@geolykt.de>
|
||||
Date: Mon, 27 Jun 2022 12:02:49 +0200
|
||||
Subject: [PATCH] Support newer JDKs for building
|
||||
|
||||
Apparently the ancient version of lombok used
|
||||
by a dependency is not compatible with newer
|
||||
versions of java. As Vault proper did not make
|
||||
use of lombok, it can be safely removed without
|
||||
declaring an alternative.
|
||||
|
||||
This commit allows Vault to build under Java 17.
|
||||
---
|
||||
pom.xml | 6 ++++++
|
||||
1 file changed, 6 insertions(+)
|
||||
|
||||
diff --git a/pom.xml b/pom.xml
|
||||
index 5b8a6dfd..17c189fd 100644
|
||||
--- a/pom.xml
|
||||
+++ b/pom.xml
|
||||
@@ -324,6 +324,12 @@ Vault currently supports the following: Permissions 3, PEX, GroupManager, bPerms
|
||||
<artifactId>craftconomy3</artifactId>
|
||||
<version>3.2.2-SNAPSHOT</version>
|
||||
<optional>true</optional>
|
||||
+ <exclusions>
|
||||
+ <exclusion>
|
||||
+ <groupId>org.projectlombok</groupId>
|
||||
+ <artifactId>lombok</artifactId>
|
||||
+ </exclusion>
|
||||
+ </exclusions>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>net.crystalyx.bukkit.simplyperms</groupId>
|
|
@ -0,0 +1,37 @@
|
|||
From 52df9d3287e8d593d0e4d999c6d5daaebe947ca1 Mon Sep 17 00:00:00 2001
|
||||
From: Ricardo Boss <mail@ricardoboss.de>
|
||||
Date: Tue, 28 Jun 2022 18:50:18 +0200
|
||||
Subject: [PATCH] Add option to silence "no update" logs (#823)
|
||||
|
||||
* Added "silent-no-update" config option
|
||||
|
||||
Added switch to turn off messages if no update is available.
|
||||
|
||||
* Set default value for "silent-no-update"
|
||||
|
||||
* Removed any "no update available" option and message
|
||||
---
|
||||
src/net/milkbowl/vault/Vault.java | 3 ---
|
||||
1 file changed, 3 deletions(-)
|
||||
|
||||
diff --git a/src/net/milkbowl/vault/Vault.java b/src/net/milkbowl/vault/Vault.java
|
||||
index ef8b5578..fd2a9787 100644
|
||||
--- a/src/net/milkbowl/vault/Vault.java
|
||||
+++ b/src/net/milkbowl/vault/Vault.java
|
||||
@@ -171,8 +171,6 @@ public void run() {
|
||||
log.warning("Update at: https://dev.bukkit.org/projects/vault");
|
||||
} else if (currentVersion > newVersion) {
|
||||
log.info("Stable Version: " + newVersionTitle + " | Current Version: " + currentVersionTitle);
|
||||
- } else {
|
||||
- log.info("No new version available");
|
||||
}
|
||||
} catch (Exception e) {
|
||||
// ignore exceptions
|
||||
@@ -182,7 +180,6 @@ public void run() {
|
||||
}, 0, 432000);
|
||||
|
||||
}
|
||||
-
|
||||
});
|
||||
|
||||
// Load up the Plugin metrics
|
72
user/papermc-plugin-vault/868_update-bstats.patch
Normal file
72
user/papermc-plugin-vault/868_update-bstats.patch
Normal file
|
@ -0,0 +1,72 @@
|
|||
From 3f20655f0b1b9c7a0f69eb241c5bedd8e748b5c9 Mon Sep 17 00:00:00 2001
|
||||
From: Leonardo Di Gianfelice Stornelli
|
||||
<leonardo.digianfelicestornelli@gmail.com>
|
||||
Date: Tue, 28 Jun 2022 00:34:40 +0200
|
||||
Subject: [PATCH] Update bStats (#868)
|
||||
|
||||
---
|
||||
pom.xml | 2 +-
|
||||
src/net/milkbowl/vault/Vault.java | 9 +++++----
|
||||
2 files changed, 6 insertions(+), 5 deletions(-)
|
||||
|
||||
diff --git a/pom.xml b/pom.xml
|
||||
index 17c189fd..ccd8cde4 100644
|
||||
--- a/pom.xml
|
||||
+++ b/pom.xml
|
||||
@@ -85,7 +85,7 @@ Vault currently supports the following: Permissions 3, PEX, GroupManager, bPerms
|
||||
<dependency>
|
||||
<groupId>org.bstats</groupId>
|
||||
<artifactId>bstats-bukkit</artifactId>
|
||||
- <version>1.5</version>
|
||||
+ <version>3.0.0</version>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>com.gmail.bleedobsidian.miconomy</groupId>
|
||||
diff --git a/src/net/milkbowl/vault/Vault.java b/src/net/milkbowl/vault/Vault.java
|
||||
index 30f6f17f..ef8b5578 100644
|
||||
--- a/src/net/milkbowl/vault/Vault.java
|
||||
+++ b/src/net/milkbowl/vault/Vault.java
|
||||
@@ -78,6 +78,7 @@
|
||||
import net.milkbowl.vault.permission.plugins.Permission_KPerms;
|
||||
|
||||
import org.bstats.bukkit.Metrics;
|
||||
+import org.bstats.charts.SimplePie;
|
||||
import org.bukkit.Bukkit;
|
||||
import org.bukkit.OfflinePlayer;
|
||||
import org.bukkit.command.Command;
|
||||
@@ -185,7 +186,7 @@ public void run() {
|
||||
});
|
||||
|
||||
// Load up the Plugin metrics
|
||||
- Metrics metrics = new Metrics(this);
|
||||
+ Metrics metrics = new Metrics(this, 887);
|
||||
findCustomData(metrics);
|
||||
|
||||
log.info(String.format("Enabled Version %s", getDescription().getVersion()));
|
||||
@@ -581,7 +582,7 @@ private void findCustomData(Metrics metrics) {
|
||||
econ = rspEcon.getProvider();
|
||||
}
|
||||
final String econName = econ != null ? econ.getName() : "No Economy";
|
||||
- metrics.addCustomChart(new Metrics.SimplePie("economy", new Callable<String>() {
|
||||
+ metrics.addCustomChart(new SimplePie("economy", new Callable<String>() {
|
||||
@Override
|
||||
public String call() {
|
||||
return econName;
|
||||
@@ -590,7 +591,7 @@ public String call() {
|
||||
|
||||
// Create our Permission Graph and Add our permission Plotters
|
||||
final String permName = Bukkit.getServer().getServicesManager().getRegistration(Permission.class).getProvider().getName();
|
||||
- metrics.addCustomChart(new Metrics.SimplePie("permission", new Callable<String>() {
|
||||
+ metrics.addCustomChart(new SimplePie("permission", new Callable<String>() {
|
||||
@Override
|
||||
public String call() {
|
||||
return permName;
|
||||
@@ -604,7 +605,7 @@ public String call() {
|
||||
chat = rspChat.getProvider();
|
||||
}
|
||||
final String chatName = chat != null ? chat.getName() : "No Chat";
|
||||
- metrics.addCustomChart(new Metrics.SimplePie("chat", new Callable<String>() {
|
||||
+ metrics.addCustomChart(new SimplePie("chat", new Callable<String>() {
|
||||
@Override
|
||||
public String call() {
|
||||
return chatName;
|
42
user/papermc-plugin-vault/APKBUILD
Normal file
42
user/papermc-plugin-vault/APKBUILD
Normal file
|
@ -0,0 +1,42 @@
|
|||
# Contributor: Antoine Martin (ayakael) <dev@ayakael.net>
|
||||
# Maintainer: Antoine Martin (ayakael) <dev@ayakael.net>
|
||||
pkgname=papermc-plugin-vault
|
||||
pkgver=1.7.3
|
||||
pkgrel=0
|
||||
pkgdesc="Vault of common APIs for Bukkit Plugins"
|
||||
arch='noarch'
|
||||
url="https://github.com/MilkBowl/Vault"
|
||||
license="MIT"
|
||||
depends="papermc>=1.8.8"
|
||||
makedepends="
|
||||
openjdk21-jdk
|
||||
maven
|
||||
"
|
||||
source="
|
||||
vault-$pkgver.tar.gz::https://github.com/MilkBowl/Vault/archive/refs/tags/1.7.3.tar.gz
|
||||
2022cb0_support-newer-jdk-for-building.patch
|
||||
868_update-bstats.patch
|
||||
823_add-option-to-silence-no-update-logs.patch
|
||||
1996cfa_finish-removal-native-support-for-abandonned-economy-plugins.patch
|
||||
"
|
||||
builddir="$srcdir"/Vault-$pkgver
|
||||
|
||||
build() {
|
||||
mvn compile
|
||||
mvn package
|
||||
}
|
||||
|
||||
check() {
|
||||
mvn test
|
||||
}
|
||||
|
||||
package() {
|
||||
install -Dm644 "$builddir"/target/Vault-$pkgver.jar "$pkgdir/var/lib/papermc/plugins/Vault.jar"
|
||||
}
|
||||
sha512sums="
|
||||
3d154945e63b7824f0a0e0900fe6db7dc77c97f1967c29760d27a3322ca0b95d76965d8574c24b7cc0e86e822f9b5e3f860cb7167796351c9a921ddf5ef3d36b vault-1.7.3.tar.gz
|
||||
8b7197b25acf06e545f10dd7dc5447aab6a73d3455bf89b01a4b466331eefa77c86152a47818348cfb901a0d65cff115b75ae37e0f8bb702c35cf13a3942a484 2022cb0_support-newer-jdk-for-building.patch
|
||||
9124d0feef633f405c3aea6081d4b749df9828d99d0c93d09ba52adb680a781288523d2dfc71be566b8cafd58ac97f152258174ab02294c6e97020a033ee0faa 868_update-bstats.patch
|
||||
b76b385ff62a955430db8d4d60592983e7475e1e63cd6a9e8c0be0a035662ec4472c6f9c8f09125745c198074695b3e04fe6ad96cbafa5faaba72bcf1bfee896 823_add-option-to-silence-no-update-logs.patch
|
||||
ea5e36649e65ca690fd8a075bb5f251a8b449ab780a546007e242ec465c58c8c5ae346efac5f1b52e3287f4f400c658f745d130d1e361ecca3436dcf5cb46fb5 1996cfa_finish-removal-native-support-for-abandonned-economy-plugins.patch
|
||||
"
|
29
user/papermc-plugin-worldedit/APKBUILD
Normal file
29
user/papermc-plugin-worldedit/APKBUILD
Normal file
|
@ -0,0 +1,29 @@
|
|||
# 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
|
||||
"
|
29
user/papermc-plugin-worldguard/APKBUILD
Normal file
29
user/papermc-plugin-worldguard/APKBUILD
Normal 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_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
|
||||
"
|
50
user/papermc/APKBUILD
Normal file
50
user/papermc/APKBUILD
Normal file
|
@ -0,0 +1,50 @@
|
|||
# Maintainer: Antoine Martin (ayakael) <dev@ayakael.net>
|
||||
# Contributor: Antoine Martin (ayakael) <dev@ayakael.net>
|
||||
pkgname=papermc
|
||||
pkgver=1.21.3
|
||||
_gittag=${pkgver/.0}
|
||||
pkgrel=0
|
||||
pkgdesc="Next generation of Minecraft server, compatible with Spigot plugins and offering uncompromising performance"
|
||||
arch='noarch'
|
||||
url="https://papermc.io/"
|
||||
license='custom'
|
||||
depends='openjdk21-jdk screen sudo bash gawk sed netcat-openbsd'
|
||||
makedepends="gradle zstd"
|
||||
options="!check"
|
||||
subpackages="$pkgname-openrc"
|
||||
source="
|
||||
https://ayakael.net/api/packages/mirrors/generic/papermc/$_gittag/papermc-$_gittag.tar.zst
|
||||
papermc.initd
|
||||
papermc.conf
|
||||
papermc.sh
|
||||
"
|
||||
|
||||
build() {
|
||||
./gradlew --parallel createMojmapBundlerJar
|
||||
}
|
||||
|
||||
check() {
|
||||
./gradlew --parallel check
|
||||
}
|
||||
|
||||
package() {
|
||||
install -Dm644 "$srcdir"/$pkgname.conf "$pkgdir"/etc/conf.d/$pkgname
|
||||
install -Dm755 "$srcdir"/$pkgname.sh "$pkgdir"/usr/bin/$pkgname
|
||||
install -Dm755 "$srcdir"/$pkgname.initd "$pkgdir"/etc/init.d/$pkgname
|
||||
install -Dm644 "$builddir"/build/libs/paper*.jar "$pkgdir"/var/lib/$pkgname/$pkgver.jar
|
||||
ln -s $pkgver.jar "$pkgdir"/var/lib/$pkgname/server.jar
|
||||
|
||||
# Link the log files
|
||||
mkdir -p "$pkgdir"/var/log/
|
||||
install -dm2755 "$pkgdir"/var/lib/$pkgname/logs
|
||||
ln -s "/var/lib/$pkgname"/logs "$pkgdir"/var/log/$pkgname
|
||||
|
||||
# Give the group write permissions and set user or group ID on execution
|
||||
chmod g+ws "$pkgdir"/var/lib/$pkgname
|
||||
}
|
||||
sha512sums="
|
||||
630c0fafd53082bec3992234f7422c4714c30ad0fac240c6dc80091fc7d49b57bc2cb7365366ac015d2a9217c4fd561f0649f738cb0d90ea7a7b6355f9839ff6 papermc-1.21.3.tar.zst
|
||||
c5d1bf85ceb74162aaaf2bcd2d06dc2e3dd2e37c39f0cee2be7c8dbff9970a6aff1e48a43e6d1e83e6a0ac610bd89f62b1279bf27b64afa88d9831a36aebbd3e papermc.initd
|
||||
9b8e267428731ee9255f82a93f1e8674d7e917a0f154bd395cd2280a49aa248a4b8427520b08dbb4b3a74a5471dac0e439eedc8ab94bf2e53bb8d411d2d8a789 papermc.conf
|
||||
943ba0d4c10173246bdc6497dcedd54da0788f966841c8d3381398711d79f8d5eb07a24ce28f519b6f24f59d99fa9e74bc6bb882059f343df4eeda5de3660ac7 papermc.sh
|
||||
"
|
Loading…
Reference in a new issue