How To Build Packages For damos-pkg

Hello, and welcome to this Tutorial, Today we will be teaching you how Build Packages for Dam.OS’s Package Manager. If you are lazy and chose not to partake in Software Development please leave this Page and return to the main page.

Making The Base File Structure

PKG_BASE_FOLDER

[WARNING! WHAT YOU NAME YOUR FOLDER WILL BE YOUR PROGRAMS EXECUTABLE NAME IN THE TERMINAL]

Make a folder and make two files named “REQUIREMENTS.txt” and “EXECUTE.dmf”, and you dont need to create folders inside of this i just do it for more organization.

These files are Required, and “CREDITS.txt” is optional, but what are these files purpose? Well,

  • CREDITS.txt: This file contains your credits for the package, storing your name, phone, email, etc.

  • EXECUTE.dmf: This file stores the Launch Command’s used to Execute your program whether it will be C++, Mono C#, C#, C, Node.js, Java, JavaScript, Python, Bash Script, Tcl, GO, HTML, php, SQL, Lua, Rust, R, Kotlin, JavaFX, FSharp, Bun, Crystal CoffeeScript, Julia, Elixier Scala, etc. And even loading Drivers. [Keep in mind EXECUTE.dmf can only use GNU/Linux basic or installed commands. You cannot use a Programming Languages commands]

  • REQUIREMENTS.txt: This file tells the computer what packages are needed to run your program. If you dont need any packages just put none. Example: [PACMAN: NONE] [DAMOS_PKG: NONE] [PIP: NONE]