fix PKGBUILD's package function
remove pointless code