diff --git a/debian/control b/debian/control index 55e3d89326f888cbc13a9a8c8ac9d6f56ae5790c..27635c2b0fce6b0d5aa770b3b9aff72e120d004e 100644 --- a/debian/control +++ b/debian/control @@ -2,9 +2,10 @@ Source: liber Section: net Priority: extra Maintainer: ale <ale@incal.net> -Build-Depends: debhelper (>= 9), dh-systemd (>= 1.5), golang-any, dh-golang +Build-Depends: debhelper (>= 9), golang-any, dh-golang Standards-Version: 3.9.6 Homepage: https://git.autistici.org/ale/liber +XS-Go-Import-Path: git.autistici.org/ale/liber Package: liber Architecture: any diff --git a/debian/rules b/debian/rules index 2fd0f143586f7242b46f1d3b881e57a3ae3da706..efb053a2526e0170e38750ebbb79eb2dde990d50 100755 --- a/debian/rules +++ b/debian/rules @@ -1,7 +1,6 @@ #!/usr/bin/make -f # -*- makefile -*- -export DH_GOPKG := git.autistici.org/ale/liber export DH_GOLANG_EXCLUDES := vendor export DH_GOLANG_INSTALL_ALL := 1 @@ -9,8 +8,7 @@ export DH_GOLANG_INSTALL_ALL := 1 dh $@ --with systemd --with golang --buildsystem golang override_dh_auto_install: - dh_auto_install - $(RM) -r debian/liber/usr/share/gocode + dh_auto_install -- --no-source install -m 755 -o root -g root -d debian/liber/usr/share/liber (umask 022; cp -R --preserve=timestamps htdocs debian/liber/usr/share/liber/htdocs)