diff --git a/Makefile b/Makefile index 181467e..62fb71d 100644 --- a/Makefile +++ b/Makefile @@ -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/ diff --git a/debian/changelog b/debian/changelog index 33e8009..d8532ef 100644 --- a/debian/changelog +++ b/debian/changelog @@ -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) - -- ferreo Wed, 18 Jan 2023 21:12:36 +0000 + -- ferreo Wed, 18 Jan 2023 21:48:14 +0000 diff --git a/debian/control b/debian/control index ad0359e..6ee133f 100644 --- a/debian/control +++ b/debian/control @@ -1,16 +1,13 @@ Source: pikman -Maintainer: ferreo -Uploaders: ferreo -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 +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 diff --git a/debian/copyright b/debian/copyright index 625b764..125ed9b 100644 --- a/debian/copyright +++ b/debian/copyright @@ -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 -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. diff --git a/debian/gbp.conf b/debian/gbp.conf deleted file mode 100644 index 373c34e..0000000 --- a/debian/gbp.conf +++ /dev/null @@ -1,3 +0,0 @@ -[DEFAULT] -debian-branch = ubuntu/kinetic -dist = DEP14 diff --git a/debian/gitlab-ci.yml b/debian/gitlab-ci.yml deleted file mode 100644 index 594e14e..0000000 --- a/debian/gitlab-ci.yml +++ /dev/null @@ -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 diff --git a/debian/rules b/debian/rules index a97e135..e10f3fa 100755 --- a/debian/rules +++ b/debian/rules @@ -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 diff --git a/debian/source/format b/debian/source/format index 163aaf8..89ae9db 100644 --- a/debian/source/format +++ b/debian/source/format @@ -1 +1 @@ -3.0 (quilt) +3.0 (native) diff --git a/debian/upstream/metadata b/debian/upstream/metadata index d715c26..0a11b7d 100644 --- a/debian/upstream/metadata +++ b/debian/upstream/metadata @@ -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