From 4738c800367fde0d8d7ac83601e6135afae96a0c Mon Sep 17 00:00:00 2001 From: "Ward Nakchbandi (Cosmic Fusion)" <83735213+CosmicFusion@users.noreply.github.com> Date: Thu, 13 Jul 2023 17:31:54 +0300 Subject: [PATCH] adapt to apx v2 --- debian/changelog | 5 +++++ debian/compat | 1 + debian/control | 20 ++++++++++++++++++++ debian/copyright | 23 +++++++++++++++++++++++ debian/gbp.conf | 2 ++ debian/rules | 10 ++++++++++ main.sh | 3 ++- 7 files changed, 63 insertions(+), 1 deletion(-) create mode 100644 debian/changelog create mode 100644 debian/compat create mode 100644 debian/control create mode 100644 debian/copyright create mode 100644 debian/gbp.conf create mode 100644 debian/rules diff --git a/debian/changelog b/debian/changelog new file mode 100644 index 0000000..c13ff95 --- /dev/null +++ b/debian/changelog @@ -0,0 +1,5 @@ +apx (2.0.0-alpha1-99pika.lunar1) lunar; urgency=medium + + * First Release + + -- Ward Nakchbandi Fri, 09 Oct 2022 21:38:00 +0300 \ No newline at end of file diff --git a/debian/compat b/debian/compat new file mode 100644 index 0000000..ca7bf83 --- /dev/null +++ b/debian/compat @@ -0,0 +1 @@ +13 \ No newline at end of file diff --git a/debian/control b/debian/control new file mode 100644 index 0000000..a378521 --- /dev/null +++ b/debian/control @@ -0,0 +1,20 @@ +Source: apx +Section: devel +Priority: extra +Maintainer: Mirko Brombin +Uploaders: Mirko Brombin +Build-Depends: debhelper (>= 9), + dh-golang, + golang-go +Standards-Version: 3.9.6 +Homepage: https://github.com/vanilla-os/apx +Vcs-Browser: https://github.com/vanilla-os/apx +Vcs-Git: git://github.com/vanilla-os/apx.git + +Package: apx +Architecture: linux-any +Depends: ${shlibs:Depends}, + ${misc:Depends}, + podman +Built-Using: ${misc:Built-Using} +Description: Apx is the default package manager in Vanilla OS. \ No newline at end of file diff --git a/debian/copyright b/debian/copyright new file mode 100644 index 0000000..a5762d6 --- /dev/null +++ b/debian/copyright @@ -0,0 +1,23 @@ +Format: http://dep.debian.net/deps/dep5 +Upstream-Name: Vanilla OS First Setup +Source: https://github.com/vanilla-os/ + +Files: * +Copyright: 2023 Vanilla-OS contributors +License: GPL-3.0 + +License: GPL-3.0 + This program is free software: you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation, either version 3 of the License. + . + This package is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + . + You should have received a copy of the GNU General Public License + along with this program. If not, see . + . + On Debian systems, the complete text of the GNU General + Public License version 3 can be found in "/usr/share/common-licenses/GPL-3". \ No newline at end of file diff --git a/debian/gbp.conf b/debian/gbp.conf new file mode 100644 index 0000000..c8f9559 --- /dev/null +++ b/debian/gbp.conf @@ -0,0 +1,2 @@ +[DEFAULT] +pristine-tar = True \ No newline at end of file diff --git a/debian/rules b/debian/rules new file mode 100644 index 0000000..d714cf2 --- /dev/null +++ b/debian/rules @@ -0,0 +1,10 @@ +#!/usr/bin/make -f + +export DH_GOPKG := github.com/vanilla-os/apx + +%: + dh $@ + +override_dh_install: + dh_install + make install-manpages DESTDIR=debian/apx/ \ No newline at end of file diff --git a/main.sh b/main.sh index 7f4cc02..bccc945 100755 --- a/main.sh +++ b/main.sh @@ -1,5 +1,6 @@ # Clone Upstream -git clone --recursive -b main https://github.com/PikaOS-Linux/apx +git clone --recursive https://github.com/Vanilla-OS/apx +cp -rvf ./debian ./apx/ cd ./apx # Get build deps