pkg:setup rm_rf Dir["bin/*.bat"] prefix.install_metafiles "bin" libexec.install Dir["*"] bin.write_exec_script Dir["#{libexec}/bin/*"].select { |f| File.executable? f }