diff --git a/README.md b/README.md index 32843aa..62df58b 100644 --- a/README.md +++ b/README.md @@ -11,7 +11,11 @@ At the moment ascii art for different distributions is limited. If you would lik ### Installation Guide #### Using a package manager -- Arch Linux: You may use your favorite AUR manager to install the `stormfetch` package +| Distribution | Package name | +|:----------------------:|:------------------------------------------ | +| Arch Linux/Artix Linux | `stormfetch` from the AUR | +| Debian/Ubuntu | latest .deb file from the releases section | +| Tide Linux | `stormfetch` from the main repository | #### Building from source - Download `go` from your package manager or from the go website - Download `make` from your package manager diff --git a/debian/changelog b/debian/changelog new file mode 100644 index 0000000..a574553 --- /dev/null +++ b/debian/changelog @@ -0,0 +1,5 @@ +stormfetch (7.4.3-1) stretch; urgency=medium + + * Initial packaging work with dpkg-buildpackage. + + -- EnumDev Fri, 17 Apr 2026 16:54:39 +0300 diff --git a/debian/control b/debian/control new file mode 100644 index 0000000..f4b2768 --- /dev/null +++ b/debian/control @@ -0,0 +1,27 @@ +Source: stormfetch +Priority: optional +Maintainer: EnumDev +Build-Depends: + debhelper-compat (= 13), + libgl-dev, + libx11-dev, + libxcursor-dev, + libxi-dev, + libxinerama-dev, + libxrandr-dev, + libxxf86vm-dev +Vcs-Git: https://github.com/EnumeratedDev/stormfetch.git +Vcs-Browser: https://github.com/EnumeratedDev/stormfetch + +Package: stormfetch +Section: universe/utils +Architecture: any +Depends: bash +Suggests: stormfetch-monitor-detection +Description: A linux fetch program written in go + +Package: stormfetch-monitor-detection +Section: universe/utils +Architecture: any +Depends: stormfetch,libgl1,libx11-6,libxcursor1,libxi6,libxinerama1,libxrandr2,libxxf86vm1 +Description: Monitor detection utility for stormfetch diff --git a/debian/rules b/debian/rules new file mode 100755 index 0000000..1b958ee --- /dev/null +++ b/debian/rules @@ -0,0 +1,22 @@ +#!/usr/bin/make -f + +clean: + -rm -r debian/stormfetch + -rm -r debian/stormfetch-monitor-detection + +build: + # Build program + make PREFIX=/usr SYSCONFDIR=/etc + +binary: + # Create directories + mkdir -p debian/stormfetch + mkdir -p debian/stormfetch-monitor-detection + # Install program + make DESTDIR=debian/stormfetch PREFIX=/usr SYSCONFDIR=/etc install-stormfetch + make DESTDIR=debian/stormfetch PREFIX=/usr SYSCONFDIR=/etc install-config + # Install monitor detection program + make DESTDIR=debian/stormfetch-monitor-detection PREFIX=/usr SYSCONFDIR=/etc install-stormfetch-monitor-detection + # Finalize packages + dh_gencontrol + dh_builddeb