Pierre Schmitz wrote:
2) Future versions of namcap should do some more tests like: * Are all deps of sub packages are defined as makedeps? * Do we have package functions for all pkgnames and vise versa?
Good idea. Could you file a bug report so this is not forgotten.
3) $pkgname seems to allways point to the first entry of the pkgname array. See the following test case:
pkgname=(test1 test2) pkgver=1 pkgrel=1
build() { echo -n should be empty: echo $pkgname }
package_test1() { echo -n should be test1: echo $pkgname }
package_test2() { echo -n should be test2: echo $pkgname }
This allway echos test1 which is not really expected.
In fact, "echo ${pkgname[@]}" will echo the whole pkgname array. I will need to think about how I want to handle that... Thanks for all your testing, Allan