diff options
author | kitsunyan | 2018-06-02 02:40:23 +0000 |
---|---|---|
committer | kitsunyan | 2018-06-02 02:40:23 +0000 |
commit | 3edef649597b7669bd67b1e42680ac25068debc7 (patch) | |
tree | a92b1ddfa86048e8167c1c9ec8ee7c9cbc33a0dd /src/main.nim | |
parent | 5e2d49cdd52c8b9805136ba44cb66e8b5d4840fb (diff) |
Update .SRCINFO parser
Some arrays may be provided by both pkgbase and pkgname. The following
rules are applied now:
1. When pkgname has array items, array items from pkgbase are ignored.
If pkgname provides only empty items (e.g. "group = "), that means array
was erased for this pkgname in PKGBUILD.
2. The following arrays are extracted from pkgbase only: validpgpkeys,
makedepends, checkdepends.
3. If pkgname's depends array is less that pkgbase's depends array,
all missing items are considered as makedepends. For instance,
pkgbase:depends=(p1 p2), pkgname:depends=(p1), then p2 becomes
make dependency for pkgname.
Diffstat (limited to 'src/main.nim')
0 files changed, 0 insertions, 0 deletions