There is an issue with package(): the mv should redirect its pipes using &>/dev/null rather than 2&>, or ls returns 2 and the move of libgcc to a pkgver-dependent directory never happens (and conflicts happen at installation time).
$ ls / 2&>/dev/null && echo test; echo $?
2
$ ls / &>/dev/null && echo test; echo $?
test
0
There is an issue with package(): the mv should redirect its pipes using &>/dev/null rather than 2&>, or ls returns 2 and the move of libgcc to a pkgver-dependent directory never happens (and conflicts happen at installation time).
$ ls / 2&>/dev/null && echo test; echo $? 2 $ ls / &>/dev/null && echo test; echo $? test 0