2019-03-22 23:45:33 +01:00
|
|
|
# Devtools - development tools for Arch Linux
|
|
|
|
|
|
|
|
This repository contains tools for the Arch Linux distribution for building
|
|
|
|
and maintaining official repository packages.
|
|
|
|
|
2021-07-18 18:27:14 +02:00
|
|
|
## Building
|
|
|
|
|
|
|
|
When building official distro packages the `BUILDTOOLVER` needs to be set to the
|
|
|
|
exact label of the release package in order to allow to detect the exactly used
|
|
|
|
devtools version. This is required for reproducible builds to fetch the according
|
|
|
|
files like `makepkg.conf`.
|
|
|
|
|
|
|
|
```sh
|
|
|
|
BUILDTOOLVER="${pkgver}-${pkgrel}-${arch}" make all
|
|
|
|
```
|
|
|
|
|
2023-01-12 19:33:21 +01:00
|
|
|
## Development
|
|
|
|
|
|
|
|
For local development testing, there is a convenience wrapper for `pkgctl` that
|
|
|
|
will automatically build the project and proxy all calls to the local build directory:
|
|
|
|
|
|
|
|
```sh
|
|
|
|
./test/bin/pkgctl --help
|
|
|
|
```
|
|
|
|
|
2019-03-22 23:45:33 +01:00
|
|
|
## Releasing
|
|
|
|
|
|
|
|
1. bump the version in the Makefile
|
2019-03-29 21:37:46 +01:00
|
|
|
2. Commit everything as ```Version $(date +"%Y%m%d")```
|
2019-03-22 23:45:33 +01:00
|
|
|
3. Create a new tag ```git tag -s $(date +"%Y%m%d")```
|
|
|
|
4. Push changes
|
|
|
|
5. Upload the source tarball with ```make dist upload```
|
|
|
|
6. Update the package
|
2021-06-10 18:56:43 +02:00
|
|
|
|
2023-03-31 23:34:28 +02:00
|
|
|
## Dependencies
|
|
|
|
|
|
|
|
### Runtime Dependencies
|
|
|
|
|
|
|
|
- arch-install-scripts
|
|
|
|
- awk
|
|
|
|
- bash
|
|
|
|
- binutils
|
|
|
|
- coreutils
|
|
|
|
- diffutils
|
|
|
|
- findutils
|
|
|
|
- grep
|
|
|
|
- jq
|
|
|
|
- ncurses
|
|
|
|
- openssh
|
|
|
|
- parallel
|
|
|
|
- rsync
|
|
|
|
- sed
|
|
|
|
- systemd
|
|
|
|
- util-linux
|
|
|
|
- bzr
|
|
|
|
- git
|
|
|
|
- mercurial
|
|
|
|
- subversion
|
|
|
|
|
|
|
|
### Development Dependencies
|
|
|
|
|
|
|
|
- asciidoc
|
|
|
|
- make
|
|
|
|
- shellcheck
|
|
|
|
|
2021-06-10 18:56:43 +02:00
|
|
|
## License
|
|
|
|
|
|
|
|
Devtools is licensed under the terms of the **GPL-3.0-or-later** (see [LICENSE](LICENSE)).
|