Add debian package source

This commit is contained in:
2026-04-17 17:47:33 +03:00
parent 3fdafd5c0c
commit f04a4b000a
4 changed files with 59 additions and 1 deletions
+5
View File
@@ -0,0 +1,5 @@
stormfetch (7.4.3-1) stretch; urgency=medium
* Initial packaging work with dpkg-buildpackage.
-- EnumDev <[email protected]> Fri, 17 Apr 2026 16:54:39 +0300
+27
View File
@@ -0,0 +1,27 @@
Source: stormfetch
Priority: optional
Maintainer: EnumDev <[email protected]>
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
Vendored Executable
+22
View File
@@ -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