diff --git a/debian/control b/debian/control index b84a5076..001dcd0e 100644 --- a/debian/control +++ b/debian/control @@ -20,6 +20,7 @@ Build-Depends: libxfixes-dev, libxi-dev, pkg-config, + dh-golang, Standards-Version: 4.5.1 Homepage: http://github.com/linuxdeepin/startdde diff --git a/debian/rules b/debian/rules index 10a5d8b5..4f3ba679 100755 --- a/debian/rules +++ b/debian/rules @@ -1,8 +1,6 @@ #!/usr/bin/make -f # -*- makefile -*- -export GOPATH := /usr/share/gocode -export GOCACHE=/tmp/gocache -export GO111MODULE = off +export DH_GOPKG := github.com/linuxdeepin/startdde ifeq ($(DEB_BUILD_ARCH),sw_64) export AUTO_LAUNCH_CHINESE=1 @@ -13,7 +11,7 @@ ifeq ($(DEB_BUILD_ARCH),mips64el) endif %: - dh $@ + dh $@ --buildsystem=golang --with=golang override_dh_shlibdeps: dh_shlibdeps --dpkg-shlibdeps-params=--ignore-missing-info