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:
@@ -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
|
||||
|
||||
@@ -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 \
|
||||
|
||||
@@ -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)
|
||||
|
||||
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user