|
PKGBUILD for the stable libchronoid AUR package, built from the
v1.0.0 release tarball published on
https://github.com/semantic-reasoning/libchronoid/releases/tag/v1.0.0
(sha256 85822cf23d18c4e78a15a378c2983144da16ab7201c581fc0774af5ea4ee9444,
132 812 bytes). Sibling to libchronoid-archlinux-git, which holds
the rolling -git package; the two are mutually exclusive via
conflicts=("libchronoid-git").
Layout:
- PKGBUILD — meson + ninja build, single package containing
the shared library, headers, pkg-config file, and
chronoid-gen CLI. License files (LGPL + MIT +
NOTICE) are symlinked from upstream's
/usr/share/doc/libchronoid/ install into the
Arch-conventional /usr/share/licenses/$pkgname/
so both `pacman -Qi` and namcap resolve them
without bloating the package with duplicate
copies. No pkgver() function — version is the
literal release tag minus the v prefix.
- check() — runs upstream's full meson test suite (23 tests
in v1.0.0). Self-contained on POSIX coreutils +
chronoid-gen, so no checkdepends= are needed
beyond the makedepends of meson + ninja + gcc.
- conflicts= — libchronoid-git, the rolling sibling. Same
binaries cannot co-install.
.SRCINFO is generated via `makepkg --printsrcinfo` and committed
alongside PKGBUILD as the AUR upload check requires it. README.md
documents local makepkg flow, optional clean-chroot build via
devtools, the AUR submission flow, and the per-tag release-bump
flow (recompute sha256, bump pkgver, reset pkgrel, regenerate
.SRCINFO, push).
Smoke-tested end-to-end before this commit: `makepkg -s --nodeps`
on Arch host downloaded the v1.0.0 tarball, validated the sha256,
extracted into src/libchronoid-1.0.0/, ran arch-meson + meson
compile + meson test (23/23 ok), and produced
libchronoid-1.0.0-1-x86_64.pkg.tar.zst with the canonical
SONAME chain libchronoid.so -> .so.0 -> .so.1.0.0 and all three
license symlinks in /usr/share/licenses/libchronoid/ resolving
correctly.
This commit creates the local maintenance repo. Pushing to AUR is
a separate step:
git remote add aur ssh://aur@aur.archlinux.org/libchronoid.git
git push aur main:master
|