Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 14 additions & 0 deletions debian/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
# debhelper build artifacts
.debhelper/
debhelper-build-stamp
files
*.substvars

# package staging trees
termcraft/
termcraft-dbgsym/

# pre-generated scaled icons (built from termcraft.png at build time)
termcraft-48.png
termcraft-64.png
termcraft-128.png
21 changes: 21 additions & 0 deletions debian/README.Debian
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
termcraft for Debian
--------------------

termcraft saves game data relative to the current working directory under
a "saves/" subdirectory. Run the game from a writable directory of your
choice; the save files will be created there automatically.

To start the game:

termcraft

To run a headless multiplayer server:

termcraft server [bind_addr]

To connect as a multiplayer client:

termcraft connect [server_addr]

Note: this game is an unofficial fan project, not affiliated with Mojang
or Microsoft.
21 changes: 21 additions & 0 deletions debian/README.source
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
termcraft for Debian
--------------------

This package is built using dh-cargo (the Debian helper for Rust/Cargo
packages). Building requires network access to download Rust crate
dependencies from crates.io, or a pre-populated cargo registry cache.

For fully offline builds (e.g. in the Debian build daemon), vendor the
dependencies before building:

cargo vendor vendor/
mkdir -p .cargo
cat >> .cargo/config.toml <<'EOF'
[source.crates-io]
replace-with = "vendored-sources"

[source.vendored-sources]
directory = "vendor"
EOF

Then include the vendor/ directory in the source tarball.
5 changes: 5 additions & 0 deletions debian/changelog
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
termcraft (0.1.0) UNRELEASED; urgency=low

* Initial release.

-- Vítězslav Dvořák <[email protected]> Wed, 06 May 2026 10:20:02 +0200
Empty file added debian/clean
Empty file.
30 changes: 30 additions & 0 deletions debian/control
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
Source: termcraft
Section: games
Priority: optional
Maintainer: Vítězslav Dvořák <[email protected]>
Build-Depends:
debhelper-compat (= 13),
cargo,
rustc,
imagemagick,
Standards-Version: 4.7.0
Homepage: https://github.com/pagel-s/termcraft
Rules-Requires-Root: no
Vcs-Git: https://salsa.debian.org/games-team/termcraft.git
Vcs-Browser: https://salsa.debian.org/games-team/termcraft

Package: termcraft
Architecture: any
Multi-Arch: foreign
Depends:
${misc:Depends},
${shlibs:Depends},
Description: terminal-based 2D sandbox survival game
termcraft is a terminal-based 2D sandbox survival game written in Rust,
inspired by the classic early-2012 block-survival gameplay loop.
.
Features include procedural Overworld, Nether, and End generation,
mining, placement, inventory, crafting, furnaces, brewing, boats, and
chests. Health, hunger, combat, weather, fluids, gravity blocks, crops,
and farming are also present. Passive and hostile mobs, villages,
dungeons, strongholds, and Nether fortresses complete the experience.
Loading