Fork of Arch Linux devtools from https://git.archlinux.org/devtools.git
Go to file
Hugo Osvaldo Barrera dca8f91d26
makerepropkg: Use $CARCH instead of hardcoded x86_64
`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/
2022-11-08 22:25:32 +01:00
config makepkg.conf: Include debug option by default 2022-11-07 22:11:35 +01:00
contrib diffpkg: prefer to search inside the pool dir if available 2022-08-31 02:26:47 +02:00
doc diffpkg: prefer to search inside the pool dir if available 2022-08-31 02:26:47 +02:00
lib common: prevent globbing and word splitting in find_cached_package 2022-10-12 21:29:30 +02:00
src makerepropkg: Use $CARCH instead of hardcoded x86_64 2022-11-08 22:25:32 +01:00
.gitignore make: use build dir as target instead of polluting root workdir 2022-06-22 01:05:02 +02:00
.gitlab-ci.yml build: enable gitlab-ci 2022-04-28 19:10:59 +02:00
LICENSE Add GPL-3.0 license file 2021-10-29 09:16:05 +02:00
Makefile Version 20221012 2022-10-12 21:40:39 +02:00
README.md doc: update links and references after moving to GitLab 2022-06-22 01:05:03 +02:00

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

  1. bump the version in the Makefile
  2. Commit everything as Version $(date +"%Y%m%d")
  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

License

Devtools is licensed under the terms of the GPL-3.0-or-later (see LICENSE).