1
0
mirror of https://github.com/AvengeMedia/DankMaterialShell.git synced 2026-01-24 13:32:50 -05:00

Add systemd debian/ubuntu packages

This commit is contained in:
purian23
2025-12-09 12:39:56 -05:00
parent e784bb89e1
commit 542a279fcb
4 changed files with 16 additions and 4 deletions

View File

@@ -15,7 +15,10 @@ export GOMODCACHE := $(CURDIR)/debian/tmp-home/go-mod
export GOTOOLCHAIN := local
%:
dh $@
dh $@ --with systemd
override_dh_installsystemd:
dh_installsystemd --user --name=dms
override_dh_auto_build:
# Create Go cache directories

View File

@@ -5,7 +5,10 @@ UPSTREAM_VERSION := $(shell echo $(DEB_VERSION) | sed 's/-[^-]*$$//')
DEB_HOST_ARCH := $(shell dpkg-architecture -qDEB_HOST_ARCH)
%:
dh $@
dh $@ --with systemd
override_dh_installsystemd:
dh_installsystemd --user --name=dms
override_dh_auto_build:
if [ "$(DEB_HOST_ARCH)" = "amd64" ]; then \

View File

@@ -15,7 +15,10 @@ export GOMODCACHE := $(CURDIR)/debian/tmp-home/go-mod
export GOTOOLCHAIN := local
%:
dh $@
dh $@ --with systemd
override_dh_installsystemd:
dh_installsystemd --user --name=dms
override_dh_auto_build:
# Create Go cache directories (sbuild sets HOME to non-existent path)

View File

@@ -11,7 +11,10 @@ UPSTREAM_VERSION := $(shell echo $(DEB_VERSION) | sed 's/-[^-]*$$//')
BASE_VERSION := $(shell echo $(UPSTREAM_VERSION) | sed 's/ppa[0-9]*$$//' | sed 's/+git.*//')
%:
dh $@
dh $@ --with systemd
override_dh_installsystemd:
dh_installsystemd --user --name=dms
override_dh_auto_build:
# All files are included in source package (downloaded by build-source.sh)