Fork of Arch Linux devtools from https://git.archlinux.org/devtools.git
dca8f91d26
`makerepropkg` has a hardcoded "x86_64", so fails to run on other [unofficial] architectures, because it tries to use an x86_64-specific makepkg config, which overrides CARCH=x86_64. This patch addresses hardcoded half of the problem; ArchLinux derivates still needs to ship a custom `devtools` package with their own `makepkg-$CARCH.conf`. Usually, the only thing that really needs to be changed in the per-architecture custom makepkg.conf is CARCH and CHOST. See: https://lists.archlinux.org/archives/list/arch-projects@lists.archlinux.org/thread/XEEW5LXYFN3XXI5YXAUY5E4LZLMKOFTL/ |
||
---|---|---|
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).