pmbootstrap build --src doesn't adjust the pkgver anymore
pmbootstrap 2.3.x:
$ pmbootstrap build --src=. hello-world
[00:41:33] (native) install alpine-base
[00:41:35] (native) install abuild
[00:41:35] (native) install abuild build-base ccache git
[00:41:37] (native) install rsync
[00:41:37] (native) build x86_64/hello-world-1_p20240705004137-r6.apk (source: /home/user/.local/var/pmbootstrap/cache_git/pmaports/main/hello-world)
[00:41:38] NOTE: chroot is still active (use 'pmbootstrap shutdown' as necessary)
[00:41:38] DONE!
pmbootstrap 3:
$ pmbootstrap build --src=. hello-world
[00:41:53] Building 1 package
[00:41:53] * edge/hello-world
[00:41:53] => edge/hello-world: Installing dependencies
[00:41:53] Initializing x86_64 buildroot
[00:41:53] (native) Creating chroot
[00:41:55] (native) install abuild abuild build-base ccache git
[00:41:56] (native) install rsync
[00:41:57] => edge/hello-world: Building package
[00:41:57] => edge/hello-world: Done!
[00:41:57] => Finished building packages
[00:41:57] NOTE: chroot is still active (use 'pmbootstrap shutdown' as necessary)
[00:41:57] DONE!
-> results in hello-world-1-r6.apk
Adjusting this has 2 purposes:
- make it easy to recognize that --src was used
- increase the version, so pmbootstrap prefers using a --src pkg with otherwise the same pkgrel and pkgver over the regular package