From 3dd47cab312977f52461281c6bc7e70abb76e516 Mon Sep 17 00:00:00 2001 From: Cem Keylan Date: Wed, 6 Mar 2024 18:59:08 +0100 Subject: contrib: add new guideline section --- carbslinux.org | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) (limited to 'carbslinux.org') diff --git a/carbslinux.org b/carbslinux.org index 5d9e1c6..21b8117 100644 --- a/carbslinux.org +++ b/carbslinux.org @@ -977,6 +977,9 @@ ninja -C output install install -Dm755 program "$1/usr/bin/program" #+END_SRC +*NOTE*: Follow 2242 if you are packaging for non-Community repository. +#+TEXINFO: @xref{2242} + **** {{{sectid(2241, Python)}}} #+BEGIN_SRC sh @@ -986,6 +989,22 @@ ninja -C output install python setup.py install --prefix=/usr --root="$1" #+END_SRC +**** {{{sectid(2242, Go (pre-vendored))}}} +:PROPERTIES: +:ID: d2c828ae-bc56-4183-8830-becbf6a812d1 +:END: + +If you are a distribution maintainer create and upload vendor tarballs +so that no internet connection is required during package compilation at all. +You can use the following template for this case: + +#+BEGIN_SRC sh +#!/bin/sh -e + +go build -v -mod=vendor +clinst -Dm755 program "$1/usr/bin/program" +#+END_SRC + ** Contributing to the Community repository :PROPERTIES: :DESCRIPTION: Package maintainership and issue reports -- cgit v1.2.3