Brooks Computing Systems
USA
Brooks Computing Systems - Jacksonville
Visit Brooks Computing Systems
Mainframes, Desktops & Web Sites

Based on the provided ebuild snippet, here's a well-structured ebuild for the game **ZED Online** (the remake of th

Based on the provided ebuild snippet, here's a well-structured ebuild for the game **ZED Online** (the remake of the classic game Z):

---

**Ebuild for ZED Online**

# Copyright 2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=8
inherit toolchain-funcs wrapper

NAME="zed-online"
DESCRIPTION="A remake of the 1996 classic game Z, with network play"
HOMEPAGE="https://sourceforge.net/projects/zedonline/"
SRC_URI="https://sourceforge.net/code-snapshots/hg/z/ze/$NAME/code/$NAME.zip"
S="$WORKDIR"

LICENSE="GPL-3"
SLOT="0"
KEYWORDS="~amd64"
BDEPEND="app-arch/unzip"

src_prepare() {
    # Unzip the source code
    unzip ${DISTFILE}
}

src_configure() {
    # Configure build settings (if needed)
    # Example: cmake -S . -B build
}

src_compile() {
    cd "${S}" && \
    ${CMAKE} --build build --config Release
}

src_install() {
    # Install the compiled binary
    dos2unix ${FILESDIR}/src/main.cpp
    install -m 755 ${FILESDIR}/src/main ${D}/usr/bin/${PN}
    # Install additional files (if needed)
    # Example: install -d ${D}/usr/share/${PN}
    # install -m 644 ${PN}.desktop ${D}/usr/share/applications
}

pkg_postinst() {
    # Post-installation instructions (if needed)
    einfo "ZED Online has been installed. Run 'zed-online' to start the game."
}

---

  • Ensure the source code URL in `SRC_URI` is correct and accessible.
  • Adjust the `src_compile` and `src_install` steps if the build system differs (e.g., autotools, Makefiles).
  • Add desktop files or data files if required for the game.

For further details, refer to the [Gentoo Ebuild Guidelines](https://wiki.gentoo.org/wiki/Ebuild_Guidelines).

Quality, Reliability & Service        Consultancy for Mainframes, Desktops & Web Sites
Visit https://bcs.archman.us Contact Us https://bcs.archman.us/contact Languages
Thank You For Visiting
Brooks Computing Systems
USA
Brooks Computing Systems - Jacksonville
Visit Brooks Computing Systems
Mainframes, Desktops & Web Sites
Quality, Reliability & Service
Visit Visit Our Site