package.sh: Added pkg-plist file generation. Split package and archive build.