added status check for makepkg