Fork of Arch Linux devtools from https://git.archlinux.org/devtools.git
0365edb264
The `extglob` option changes the behavior of the shell parser, since extended glob patterns would otherwise be syntax errors. bash-5.2 changed the way a function definition is processed by calling the parser instead of relying on the ad-hoc code in bash-5.1 and earlier versions. This means, in bash-5.2 the shell function was parsed without `extglob` being enabled because the `shopt` command to enable it was part of the function body. Add `shopt` options for `extglob` around function definitions to address this issue and allow bash-5.2 to correctly parse the function. Co-authored-by: Frédéric Pierret (fepitre) <frederic.pierret@qubes-os.org> Co-authored-by: Levente Polyak <anthraxx@archlinux.org> Signed-off-by: Levente Polyak <anthraxx@archlinux.org> |
||
---|---|---|
config | ||
contrib | ||
doc | ||
lib | ||
src | ||
.gitignore | ||
.gitlab-ci.yml | ||
LICENSE | ||
Makefile | ||
README.md |
README.md
Devtools - development tools for Arch Linux
This repository contains tools for the Arch Linux distribution for building and maintaining official repository packages.
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
.
BUILDTOOLVER="${pkgver}-${pkgrel}-${arch}" make all
Releasing
- bump the version in the Makefile
- Commit everything as
Version $(date +"%Y%m%d")
- Create a new tag
git tag -s $(date +"%Y%m%d")
- Push changes
- Upload the source tarball with
make dist upload
- Update the package
License
Devtools is licensed under the terms of the GPL-3.0-or-later (see LICENSE).