Neonatox

A Neonatox package teaches, it doesn't just install.

*.srcnho (nhoid) – Source Package

Metadata file containing everything needed to compile a package.

  • • Source code (downloaded or included)
  • • Script nbuild() – how to compile
  • • Script ninstall() – how to install
  • • Build and runtime dependencies
  • • Metadata (version, license, repo)

Example: transmission.nhoid

.nho – Binary Package

Compressed file ready to install. Contains the compiled binaries.

  • • Compiled binary files
  • • Package metadata
  • • Post-install/post-remove scripts
  • • Systemd integration
  • • Licenses in /usr/share/licenses

Example: transmission-4.1.1-n2026-x86_64.nho

Real nhoid anatomy: Transmission 4.1.1

transmission.nhoid (source package)
#%NHO-0.5
# Package Maintainer: cargabsj175 

# Name:       transmission
# Version:    4.1.1
# Release:    n2026
# License:    GPL-2.0-or-later
# Repository: extra
# Arch:       i686 x86_64
# Splitpackage: base gtk qt

# BuildDep:   curl nodejs libevent gtkmm4 qt6-svg cmake...
# Dep(base):  curl nodejs libevent
# Dep(gtk):   gtk4 hicolor-icon-theme
# Dep(qt):    qt6-core qt6-svg

nbuild() {
  cd src/transmission-4.1.1
  cmake -B build -DCMAKE_BUILD_TYPE=Release \
    -DENABLE_GTK=ON -DENABLE_QT=ON -DENABLE_CLI=OFF
  cmake --build build -j$(nproc/2)
}

ninstall() {
  cmake --install build --prefix=$DESTDIR/usr
}

ninstall_gtk() {
  install -Dm755 build/transmission-gtk $DESTDIR/usr/bin/transmission-gtk
}

ninstall_qt() {
  install -Dm755 build/transmission-qt $DESTDIR/usr/bin/transmission-qt
}
      

Format keys:

Lifecycle functions

nbuild()

Isolated compilation in build/. Uses explicit CFLAGS and cmake/make with parallelization.

ninstall(), ninstall_<subpkg>()

Modular installation per sub-package using DESTDIR. Integrates systemd, licenses, and file structure.

npostinstall(), npostremove()

Post-installation/removal hooks. User configuration, service enabling, cleanup.

Source repository

All Neonatox nhoid files are available on GitLab, organized by category.

1000
paquetes totales
58
activos (30d)
1000
activos (1 año)
12
categorías

Distribución por categoría

Aplicaciones / Otros 627
Librerías 207
KDE / Plasma 42
Toolkits 37
Python 35
GNOME 22
XFCE 15
Desktop 6
Kernel 3
Web Engines 2
Protocolos 2
Perl 2

Paquetes actualizados recientemente

💡 Next step: Want to see how to create your first nhopkg from scratch? Follow the Builder Path →