| Age | Commit message (Collapse) | Author |
|
|
|
Arch best practices:
- prepare() with cargo fetch isolates network access from build()
- CARGO_HOME in srcdir/ keeps the build environment clean
- CARGO_PROFILE_RELEASE_STRIP=true for proper debug symbol stripping
- --frozen ensures no network access or lock file changes during build
- LICENSE installed to /usr/share/licenses/$pkgname/
|
|
|
|
Instead of hardcoding 0.1.12, the fallback path now queries
'git tag --sort=-version:refname' for the most recent v* tag.
Falls back to 0.0.0 only if no version tags exist at all.
|
|
Old sed 's/\([^-]*-\)*g/r/;s/-/./g' matched v0.1.12-15-g and
replaced with 'r', producing 'rc9aa1e8' — completely missing the
version tag. Fixed to: s/^v//;s/-([0-9]+)-g([0-9a-f]+)$/.r\1.g\2/
producing correct 0.1.12.r15.gc9aa1e8 format.
Also bumped fallback base from 0.1.0 to 0.1.12.
|
|
|
|
|