fix dependency. remove $pkgname.