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

47
debian/copyright vendored
View File

@ -1,32 +1,21 @@
Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
Upstream-Name: pikman
Upstream-Contact: TODO
Source: https://github.com/PikaOS-Linux/pikman
MIT License
Files: *
Copyright: 2023 PikaOS
License: Expat
Copyright (c) 2023 PikaOS
Files: debian/*
Copyright: 2023 ferreo <harderthanfire@gmail.com>
License: Expat
Comment: Debian packaging is licensed under the same terms as upstream
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
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
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
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:
.
The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the 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.
The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the 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
# 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:
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-Submit: https://github.com/PikaOS-Linux/pikman/issues/new
Repository: https://github.com/PikaOS-Linux/pikman.git