mirror of
https://github.com/void-linux/void-packages.git
synced 2025-04-16 06:07:00 +02:00
It is not possible to use version other than currently in template. Specifying pattern breaks build if dependency isn't in binary repo already. That it worked when in repo was a coincidence. Let's detect exact version requirement with regex equivalent to `xbps-uhelper getpkgname`. bash-5.1$ for x in a-{a,0,-,_}{a,0,-,_}{a,0,-,_}{a,0,-,_}{a,0,-,_}{a,0,-,_}{a,0,-,_}{a,0,-,_}; do [[ $x = *[\>\<]* || $x =~ -[^-_]*[0-9][^-_]*_[0-9_]+$ ]]; bash=$?; xbps-uhelper getpkgname $x > /dev/null 2> /dev/null; xbps=$?; if [ $bash != $xbps ]; then echo $x; fi; done bash-5.1$ Co-authored-by: Duncaen <duncaen@voidlinux.org> |
||
---|---|---|
.. | ||
build-helper | ||
build-profiles | ||
build-style | ||
chroot-style | ||
cross-profiles | ||
environment | ||
hooks | ||
repo-keys | ||
scripts | ||
travis | ||
wrappers | ||
xbps-src | ||
options.description | ||
shlibs |