Add files to build Debian package

According to the de facto project layout for Go[0], these files should
go into a build/package folder, but since i already broke the rules with
Sqitch’s folders, i do not see why i have to go against Debian’s
conventions of putting it into a debian subfolder of the root.

[0]: https://github.com/golang-standards/project-layout
This commit is contained in:
jordi fita mas 2023-01-15 22:56:49 +01:00
parent 78d9a568bf
commit 0efd48c40d
5 changed files with 43 additions and 0 deletions

5
debian/changelog vendored Normal file
View File

@ -0,0 +1,5 @@
numerus (0.0~git00000000000000.0000000) bullseye; urgency=medium
* Initial release.
-- jordi fita mas <jordi@tandem.blog> Sun, 01 Jan 2023 01:07:46 +0000

23
debian/control vendored Normal file
View File

@ -0,0 +1,23 @@
Source: numerus
Section: web
Priority: optional
Maintainer: jordi fita mas <jordi@tandem.blog>
Build-Depends:
debhelper-compat (= 13),
dh-golang,
golang-any,
golang-github-jackc-pgx-v4-dev,
Standards-Version: 4.6.0
XS-Go-Import-Path: dev.tandem.ws/tandem/numerus
Vcs-Browser: https://dev.tandem.ws/tandem/numerus
Vcs-Git: https://dev.tandem.ws/tandem/numerus.git
Homepage: https://dev.tandem.ws/tandem/numerus
Rules-Requires-Root: no
Package: numerus
Architecture: any
Depends:
${misc:Depends}
Description: Simple invoicing and accounting web application
A simple web application to keep invoice and accouting records, intended for
contractors working in Spain.

10
debian/copyright vendored Normal file
View File

@ -0,0 +1,10 @@
Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
Source: https://dev.tandem.ws/tandem/numerus
Upstream-Name: numerus
Upstream-Contact: jordi@tandem.blog
Files:
*
Copyright:
2023 jordi fita mas
License: AGPL-3.0-only

4
debian/rules vendored Executable file
View File

@ -0,0 +1,4 @@
#!/usr/bin/make -f
%:
dh $@ --builddirectory=_build --buildsystem=golang --with=golang

1
debian/source/format vendored Normal file
View File

@ -0,0 +1 @@
3.0 (native)