build 285 B

12345678910111213
  1. #!/bin/bash
  2. [% c("var/set_default_env") -%]
  3. tar xvf [% project %]-[% c('version') %].tar.gz
  4. cd [% project %]-[% c('version') %]
  5. make package
  6. mkdir pkg/tmp
  7. cd pkg/tmp
  8. unzip ../*.xpi
  9. [% c('zip', {
  10. zip_src => [ '.' ],
  11. zip_args => dest_dir _ '/' _ c('filename'),
  12. }) %]