Skip to content
Open
Show file tree
Hide file tree
Changes from 5 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .gitmodules
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
[submodule "src/github.com/aptly-dev/aptly"]
path = src/github.com/aptly-dev/aptly
url = https://github.com/molior-dbs/aptly.git
url = https://github.com/aptly-dev/aptly.git
2 changes: 1 addition & 1 deletion debian/control
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ Source: aptly
Section: utils
Priority: extra
Maintainer: Sebastien Delafond <[email protected]>
Build-Depends: debhelper (>= 9.0.0), golang (>= 2:1.7~5~bpo8+1), bash-completion, dh-systemd (>= 1.5)
Build-Depends: debhelper (>= 9.20160709), golang (>= 2:1.7~5~bpo8+1), bash-completion
Standards-Version: 3.9.6
Homepage: http://www.aptly.info
Vcs-Git: git://anonscm.debian.org/collab-maint/aptly.git
Expand Down
4 changes: 3 additions & 1 deletion debian/rules
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@

SOURCE_DIR := $(CURDIR)/src/github.com/aptly-dev/aptly
DEST_DIR := $(CURDIR)/debian/aptly
VERSION := $(shell dpkg-parsechangelog -S Version)

%:
dh $@ --with systemd
Expand All @@ -14,7 +15,8 @@ override_dh_auto_clean:
rm -f aptly

override_dh_auto_build:
GOPATH=$(CURDIR) go build -o aptly $(SOURCE_DIR)/main.go
cd ${SOURCE_DIR} && go mod download
cd ${SOURCE_DIR} && GO111MODULE=on GOBIN=$(CURDIR) go install -v -ldflags "-X main.Version=$(VERSION)"

override_dh_auto_install:
dh_bash-completion
Expand Down
2 changes: 1 addition & 1 deletion src/github.com/aptly-dev/aptly
Submodule aptly updated from 3d2ccf to 814d4d