Package Details: cuberite 1.12.2c2_eda440e-2

Git Clone URL: https://aur.archlinux.org/cuberite.git (read-only, click to copy)
Package Base: cuberite
Description: A Minecraft-compatible multiplayer game server that is written in C++ and designed to be efficient with memory and CPU, as well as having a flexible Lua Plugin API. It is compatible with the vanilla Minecraft client.
Upstream URL: https://cuberite.org/
Keywords: C C++ efficient load minecraft optimized plugin server speed
Licenses: Apache
Provides: minecraft-server, spigot
Submitter: edh
Maintainer: edh
Last Packager: edh
Votes: 10
Popularity: 0.000000
First Submitted: 2016-05-28 18:48 (UTC)
Last Updated: 2023-12-09 20:02 (UTC)

Dependencies (14)

Required by (0)

Sources (20)

Pinned Comments

edh commented on 2019-11-28 22:17 (UTC)

Unfortunately, upstream does not really have proper releases but instead points to build-versions of the software. Note, I will not push every new build of the package to the AUR but I will update the package upon new minecraft releases, e.g. for 1.14.4 to 1.14.5.

edh commented on 2016-12-11 20:51 (UTC)

You can quit the console without shutting down the server by press ctrl+a d (first ctrl+a and after releasing the buttons press d). This will detach your input from the server console. The attaching and detaching is done with GNU screen since it lets you view and type into the console, sent single commands to it and keep it alive without a connected user. Take a look at the the command overview at the ArchWiki [1] to get a feel for its power. [1] https://wiki.archlinux.org/index.php/GNU_Screen#Common_Commands

Latest Comments

1 2 3 4 Next › Last »

edh commented on 2023-08-30 01:58 (UTC)

Thanks @xiretza for the detailed comment. I added the missing dependency, fixed the git submodule update, and cleaned up the cmake build instructions.

xiretza commented on 2023-08-23 08:33 (UTC)

There's a bunch of issues with this PKGBUILD:

diff --git a/PKGBUILD b/PKGBUILD
index 0a61ffb..5e1ba09 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -11,7 +11,7 @@ arch=('i686' 'x86_64' 'armv7h')
 url="https://cuberite.org/"
 license=('Apache')
 depends=('lua' 'tmux' 'sudo' 'bash' 'awk' 'sed' 'sqlite')
-makedepends=('clang' 'cmake' 'gtest' 'git')
+makedepends=('clang' 'cmake' 'gtest' 'git' 'python')
 optdepends=("tar: needed in order to create world backups"
        "netcat: required in order to suspend an idle server")
 provides=("minecraft-server=${_pkgver%_*}" "spigot=${_pkgver%_*}")
@@ -84,7 +84,7 @@ prepare() {
        git config submodule.lib/luaproxy.url "${srcdir}"/luaproxy
        git config submodule.Tools/BlockTypePaletteGenerator/lib/lunajson.url "${srcdir}"/lunajson
        git config submodule.lib/libdeflate.url "${srcdir}"/libdeflate
-       git submodule update
+       git -c protocol.file.allow=always submodule update
 }

 build() {
@@ -94,11 +94,8 @@ build() {
        mkdir build
        cd build
        cmake .. \
-               -DCMAKE_BUILD_TYPE=RELEASE \
-               -DCMAKE_INSTALL_PREFIX=${_server_root} \
-               -DLIBRARY_INSTALL_DIR=${_server_root}/lib \
-               -DCMAKE_C_FLAGS="${CFLAGS}" \
-               -DCMAKE_CXX_FLAGS"${CXXFLAGS}"
+               -DCMAKE_BUILD_TYPE=None \
+               -DCMAKE_INSTALL_PREFIX=${_server_root}

        make

edh commented on 2021-12-22 15:33 (UTC)

The management script to control this minecraft flavor was moved to a dedicated repository at GitHub:Edenhofer/minecraft-server. The script works for various flavors of minecraft. It is very minimalist yet versatile and feature-rich. For more information on how to configure and install the script separately, visit the above linked repository.

edh commented on 2021-06-02 23:06 (UTC)

@abouvier Interesting! Thanks for the link. That was all that I was worried about. I'll remove the commit hashes with the next release.

abouvier commented on 2021-06-02 18:11 (UTC)

It is deterministic :p

https://devops.stackexchange.com/questions/5371/where-is-the-git-submodule-revision-actually-stored

edh commented on 2021-06-02 17:55 (UTC)

@abouvier I wasn't able to spot any such information in the .gitmodules file. Thus, the commits are there to make the package deterministically compile the same software each time you run it.

abouvier commented on 2021-06-02 14:35 (UTC) (edited on 2021-06-02 18:10 (UTC) by abouvier)

Nice, but you don't need to specify each submodule commit because this information is already part of the git repository. The specific commit will be fetched with git submodule update.

edh commented on 2021-06-01 22:01 (UTC)

Done. The package now builds from source.

Note, this was quite a hassle to implement properly as cuberite uses git as dependency management solution. If anyone is interested in a cuberite-bin package I am more than happy to create and maintain such a package as well.

edh commented on 2021-06-01 09:23 (UTC)

@abouvier You are absolutaly right, I'll update the PKGBUILD soon.

abouvier commented on 2021-05-27 21:04 (UTC) (edited on 2021-05-27 21:06 (UTC) by abouvier)

This package should be renamed cuberite-bin or compiled from the available source code (like cuberite-git).