PKGBUILD-vcs.proto - prepare before pkgver?

Darren Ng un1gfn at gmail.com
Tue Oct 12 08:51:38 UTC 2021


Hi. prepare()[1] runs before pkgver()[2].

In PKGBUILD-vcs.proto[3], why put prepare() after pkgver()?

Got nothing from my poor google-fu[4].

---

[1] https://gitlab.archlinux.org/pacman/pacman/-/blob/a33cdac10bf1a68279ea1b9baa26aa09126f1ca4/scripts/makepkg.sh.in#L1433
[2] https://gitlab.archlinux.org/pacman/pacman/-/blob/a33cdac10bf1a68279ea1b9baa26aa09126f1ca4/scripts/makepkg.sh.in#L1443

[3] https://gitlab.archlinux.org/pacman/pacman/-/blob/edce7555a6b7410d1a4da6d27d22383989306ccc/proto/PKGBUILD-vcs.proto#L33

[4] https://www.google.com/search?q=site:lists.archlinux.org+pkgver+before+prepare
    https://www.google.com/search?q=site:lists.archlinux.org+prepare+before+pkgver


More information about the pacman-dev mailing list