build 367 B

12345678910111213141516
  1. #!/bin/bash
  2. [% c("var/set_default_env") -%]
  3. tar xvf [% project %]-[% c('version') %].tar.gz
  4. mv [% project %]-[% c("version") %] [% project %]
  5. [% IF c("var/namecoin") %]
  6. pushd [% project %]
  7. patch -p1 < $rootdir/namecoin.patch
  8. popd
  9. [% END -%]
  10. [% c('tar', {
  11. tar_src => [ project ],
  12. tar_args => '-czf ' _ dest_dir _ '/' _ c('filename'),
  13. }) %]