Fix issues about $pkgname $depends in split packages