From e53119db69b9aa40a655d5a45a55fbbff0842ad0 Mon Sep 17 00:00:00 2001 From: ferrreo Date: Wed, 18 Jan 2023 21:20:58 +0000 Subject: [PATCH] Add debian/ppa packaging --- debian/changelog | 5 +++++ debian/control | 25 +++++++++++++++++++++++++ debian/copyright | 32 ++++++++++++++++++++++++++++++++ debian/gbp.conf | 3 +++ debian/gitlab-ci.yml | 6 ++++++ debian/rules | 7 +++++++ debian/source/format | 1 + debian/upstream/metadata | 5 +++++ debian/watch | 2 ++ 9 files changed, 86 insertions(+) create mode 100644 debian/changelog create mode 100644 debian/control create mode 100644 debian/copyright create mode 100644 debian/gbp.conf create mode 100644 debian/gitlab-ci.yml create mode 100755 debian/rules create mode 100644 debian/source/format create mode 100644 debian/upstream/metadata create mode 100644 debian/watch diff --git a/debian/changelog b/debian/changelog new file mode 100644 index 0000000..33e8009 --- /dev/null +++ b/debian/changelog @@ -0,0 +1,5 @@ +pikman (0.0~git20230118.42c3a4e-1) UNRELEASED; urgency=medium + + * Initial release (Closes: TODO) + + -- ferreo Wed, 18 Jan 2023 21:12:36 +0000 diff --git a/debian/control b/debian/control new file mode 100644 index 0000000..ad0359e --- /dev/null +++ b/debian/control @@ -0,0 +1,25 @@ +Source: pikman +Maintainer: ferreo +Uploaders: ferreo +Section: golang +Testsuite: autopkgtest-pkg-go +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 +XS-Go-Import-Path: github.com/PikaOS-Linux/pikman + +Package: pikman +Architecture: any +Depends: ${misc:Depends}, + ${shlibs:Depends} +Built-Using: ${misc:Built-Using} +Description: PikaOS package manager (program) + pikman + . + PikaOS package manager + diff --git a/debian/copyright b/debian/copyright new file mode 100644 index 0000000..625b764 --- /dev/null +++ b/debian/copyright @@ -0,0 +1,32 @@ +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 + +Files: * +Copyright: 2023 PikaOS +License: Expat + +Files: debian/* +Copyright: 2023 ferreo +License: Expat +Comment: Debian packaging is licensed under the same terms as upstream + +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. diff --git a/debian/gbp.conf b/debian/gbp.conf new file mode 100644 index 0000000..373c34e --- /dev/null +++ b/debian/gbp.conf @@ -0,0 +1,3 @@ +[DEFAULT] +debian-branch = ubuntu/kinetic +dist = DEP14 diff --git a/debian/gitlab-ci.yml b/debian/gitlab-ci.yml new file mode 100644 index 0000000..594e14e --- /dev/null +++ b/debian/gitlab-ci.yml @@ -0,0 +1,6 @@ +# 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 new file mode 100755 index 0000000..a97e135 --- /dev/null +++ b/debian/rules @@ -0,0 +1,7 @@ +#!/usr/bin/make -f + +%: + dh $@ --builddirectory=_build --buildsystem=golang --with=golang + +override_dh_auto_install: + dh_auto_install -- --no-source diff --git a/debian/source/format b/debian/source/format new file mode 100644 index 0000000..163aaf8 --- /dev/null +++ b/debian/source/format @@ -0,0 +1 @@ +3.0 (quilt) diff --git a/debian/upstream/metadata b/debian/upstream/metadata new file mode 100644 index 0000000..d715c26 --- /dev/null +++ b/debian/upstream/metadata @@ -0,0 +1,5 @@ +--- +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 +Repository-Browse: https://github.com/PikaOS-Linux/pikman diff --git a/debian/watch b/debian/watch new file mode 100644 index 0000000..74bacc6 --- /dev/null +++ b/debian/watch @@ -0,0 +1,2 @@ +version=4 +https://github.com/PikaOS-Linux/pikman/tags (?:.*?/)?v?@ANY_VERSION@@ARCHIVE_EXT@