Package description
This repository is a GitHub template for new BigLinux packages. Click
Use this template → Create a new repository, choose the biglinux
organization and name the repository after the package (the name becomes the
pkgname). Then:
- Edit
pkgbuild/PKGBUILD:- set
pkgnameto the repository name and write thepkgdesc; - fill in the maintainer line and uncomment
depends,makedepends… as needed; pkgverandpkgrelcome from the build date, so every build is a new version.
- set
- Put the files to install in
usr/,etc/oropt/at the root of the repository, with the same layout they have on the system (for exampleusr/bin/my-tool).package()copies those folders as they are. - If the package needs to run something when it is installed, upgraded or
removed, edit
pkgbuild/pkgbuild.install: uncomment the functions you need and replacePACKAGE_NAMEwith the package name. If not, delete the file. - Replace this section with the package description.
Build the package with gitrepo, choosing
BigLinux as the destination and the testing or stable repository. The
biglinux/build-package robot
builds, signs and publishes it in
packages.biglinux.com.br.
To test locally:
cd pkgbuild && makepkg -siGPL-3.0-or-later. See LICENSE.