diff --git a/debian/control b/debian/control
index 88199d25a618c02a2c6652fa75b636b8551aa7a1..4d3341aad37c3727a3a951fdcd6da194e5b509ae 100644
--- a/debian/control
+++ b/debian/control
@@ -2,9 +2,10 @@ Source: autoradio
 Section: net
 Priority: extra
 Maintainer: ale <ale@incal.net>
-Build-Depends: debhelper (>= 8.0.0), dh-systemd, dh-golang, golang-any (>= 1.10)
-Standards-Version: 3.9.4
+Build-Depends: debhelper (>= 12.0.0), dh-golang, golang-any (>= 1.14)
+Standards-Version: 3.9.6
 Homepage: https://git.autistici.org/ale/autoradio
+XS-Go-Import-Path: git.autistici.org/ale/autoradio
 
 Package: autoradio-server
 Architecture: any
diff --git a/debian/rules b/debian/rules
index a26b7fc5f86be443af7facf980ad187fd171da7a..222a570ac5e83bb0ebb26edba73005ce97b13298 100755
--- a/debian/rules
+++ b/debian/rules
@@ -1,6 +1,5 @@
 #!/usr/bin/make -f
 
-export DH_GOPKG = git.autistici.org/ale/autoradio
 export DH_GOLANG_EXCLUDES = vendor
 
 DESTDIR = debian/autoradio-server
@@ -9,8 +8,7 @@ DESTDIR = debian/autoradio-server
 	dh $@ --with systemd --with golang --buildsystem golang
 
 override_dh_auto_install:
-	dh_auto_install
-	$(RM) -rv $(DESTDIR)/usr/share/gocode
+	dh_auto_install -- --no-source
 
 	# Install our silent snippets to the Icecast web dir.
 	install -d -m 755 -o root -g root $(DESTDIR)/usr/share/icecast2/web