Attempt to fix .deb build

This commit is contained in:
ferrreo 2023-01-18 22:21:49 +00:00
parent 78cb388e2c
commit 900b0ee3d8
9 changed files with 39 additions and 61 deletions

View File

@ -1,5 +1,5 @@
.DEFAULT_GOAL := build .DEFAULT_GOAL := build
build: build:
GOARCH=amd64 GOOS=linux go build -o pikman go build -o pikman
install: install:
install -m 644 pikman /usr/bin/ install -m 644 pikman /usr/bin/

6
debian/changelog vendored
View File

@ -1,5 +1,5 @@
pikman (0.0~git20230118.42c3a4e-1) UNRELEASED; urgency=medium pikman (0.11-1) UNRELEASED; urgency=medium
* Initial release (Closes: TODO) * Initial release. (Closes: #nnnn) <nnnn is the bug number of your ITP>
-- ferreo <harderthanfire@gmail.com> Wed, 18 Jan 2023 21:12:36 +0000 -- ferreo <harderthanfire@gmail.com> Wed, 18 Jan 2023 21:48:14 +0000

25
debian/control vendored
View File

@ -1,16 +1,13 @@
Source: pikman Source: pikman
Maintainer: ferreo <harderthanfire@gmail.com> Section: unknown
Uploaders: ferreo <harderthanfire@gmail.com>
Section: golang
Testsuite: autopkgtest-pkg-go
Priority: optional Priority: optional
Build-Depends: debhelper-compat (= 13), Maintainer: ferreo <harderthanfire@gmail.com>
dh-golang, Rules-Requires-Root: binary-targets
golang-any, Build-Depends:
golang-github-urfave-cli-dev debhelper-compat (= 13),
Standards-Version: 4.6.0 dh-golang (>= 1.1),
Homepage: https://github.com/PikaOS-Linux/pikman Standards-Version: 4.6.1
Rules-Requires-Root: no Homepage: https://pikaos.ferreo.dev
XS-Go-Import-Path: github.com/PikaOS-Linux/pikman XS-Go-Import-Path: github.com/PikaOS-Linux/pikman
Package: pikman Package: pikman
@ -18,8 +15,4 @@ Architecture: any
Depends: ${misc:Depends}, Depends: ${misc:Depends},
${shlibs:Depends} ${shlibs:Depends}
Built-Using: ${misc:Built-Using} Built-Using: ${misc:Built-Using}
Description: PikaOS package manager (program) Description: One package manager to rule them all
pikman
.
PikaOS package manager

47
debian/copyright vendored
View File

@ -1,32 +1,21 @@
Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ MIT License
Upstream-Name: pikman
Upstream-Contact: TODO
Source: https://github.com/PikaOS-Linux/pikman
Files: * Copyright (c) 2023 PikaOS
Copyright: 2023 PikaOS
License: Expat
Files: debian/* Permission is hereby granted, free of charge, to any person obtaining a copy
Copyright: 2023 ferreo <harderthanfire@gmail.com> of this software and associated documentation files (the "Software"), to deal
License: Expat in the Software without restriction, including without limitation the rights
Comment: Debian packaging is licensed under the same terms as upstream to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
License: Expat The above copyright notice and this permission notice shall be included in all
Permission is hereby granted, free of charge, to any person obtaining a copy copies or substantial portions of the Software.
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
copies of the Software, and to permit persons to whom the Software is FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
furnished to do so, subject to the following conditions: AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
. LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
The above copyright notice and this permission notice shall be included in all OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
copies or substantial portions of the Software. SOFTWARE.
.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.

3
debian/gbp.conf vendored
View File

@ -1,3 +0,0 @@
[DEFAULT]
debian-branch = ubuntu/kinetic
dist = DEP14

View File

@ -1,6 +0,0 @@
# auto-generated, DO NOT MODIFY.
# The authoritative copy of this file lives at:
# https://salsa.debian.org/go-team/infra/pkg-go-tools/blob/master/config/gitlabciyml.go
---
include:
- https://salsa.debian.org/go-team/infra/pkg-go-tools/-/raw/master/pipeline/test-archive.yml

8
debian/rules vendored
View File

@ -1,7 +1,13 @@
#!/usr/bin/make -f #!/usr/bin/make -f
# See debhelper(7) (uncomment to enable).
# Output every command that modifies files on the build system.
export DH_VERBOSE = 1
%: %:
dh $@ --builddirectory=_build --buildsystem=golang --with=golang dh $@ --builddirectory=./ --buildsystem=golang --with=golang
override_dh_auto_install: override_dh_auto_install:
dh_auto_install -- --no-source dh_auto_install -- --no-source

View File

@ -1 +1 @@
3.0 (quilt) 3.0 (native)

View File

@ -1,4 +1,3 @@
---
Bug-Database: https://github.com/PikaOS-Linux/pikman/issues Bug-Database: https://github.com/PikaOS-Linux/pikman/issues
Bug-Submit: https://github.com/PikaOS-Linux/pikman/issues/new Bug-Submit: https://github.com/PikaOS-Linux/pikman/issues/new
Repository: https://github.com/PikaOS-Linux/pikman.git Repository: https://github.com/PikaOS-Linux/pikman.git