Files
packages/README.md

37 lines
828 B
Markdown

This repository contains custom PKGBUILD files for packaging various things.
# Building
This details how to build a specific package.
## Regularly
Navigate to the package directory and run
```sh
makepkg -si
```
You may also need to generate **.SRCINFO** file with the following command:
```sh
makepkg --printsrcinfo > .SRCINFO
```
## In chroot
Based on [an Arch Wiki article](https://wiki.archlinux.org/title/Creating_packages#Using_pkgctl_to_build_in_a_clean_chroot_environment).
First, install the `devtools` package from the official repository. Then navigate to the package directory and run:
```sh
pkgctl build
```
If it gets built, you can install the resulting `.pkg` file via:
```sh
sudo pacman -U packagename.pkg.tar.zst
```
The following command can be used to recreate the chroot.
```sh
pkgctl build -c
```