Commit e48dc13e authored by Michael Stapelberg's avatar Michael Stapelberg

packaging: switch from DH_GOPKG to more prevalent XS-Go-Import-Path

parent dbf1f3be
Pipeline #31653 passed with stage
in 51 seconds
......@@ -123,10 +123,10 @@ version. The buildds are using the unstable version, too, so this is important.
`dh-golang` comes with an example `debian/rules` file:
https://salsa.debian.org/go-team/packages/dh-golang/blob/master/example/rules
You will need to change the value of DH_GOPKG to correspond to your program’s
upstream package name. This is usually what you would `go get` when installing
it manually. `dh-golang` needs that information so that it can run `go
install`.
You will need to change the value of `XS-Go-Import-Path` in `debian/control`
to correspond to your program’s upstream package name. This is usually what you
would `go get` when installing it manually. `dh-golang` needs that information
so that it can run `go install`.
`dh-golang` sets up a build environment that contains all the libraries that
are available in `/usr/share/gocode/src`, so you need to add Build-Depends to
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment