2023-07-13 16:31:54 +02:00
|
|
|
#!/usr/bin/make -f
|
|
|
|
|
|
|
|
export DH_GOPKG := github.com/vanilla-os/apx
|
2023-07-13 16:43:51 +02:00
|
|
|
export GO111MODULE := on
|
2023-07-13 16:49:33 +02:00
|
|
|
export GOPROXY := https://proxy.golang.org,direct
|
2023-07-13 16:31:54 +02:00
|
|
|
|
|
|
|
%:
|
|
|
|
dh $@
|
|
|
|
|
|
|
|
override_dh_install:
|
|
|
|
dh_install
|
2023-07-13 22:30:12 +02:00
|
|
|
ln -sf /usr/bin/apx debian/apx/usr/bin/apx2
|
2023-07-13 16:39:36 +02:00
|
|
|
make install-manpages DESTDIR=debian/apx/
|
|
|
|
|
|
|
|
override_dh_auto_build:
|
|
|
|
go mod download
|
|
|
|
dh_auto_build --
|