.pkgr.yml 467 B

12345678910111213141516171819202122232425262728
  1. targets:
  2. debian-7: &debian
  3. build_dependencies:
  4. - libpam0g-dev
  5. dependencies:
  6. - libpam0g
  7. - git
  8. debian-8:
  9. <<: *debian
  10. ubuntu-14.04:
  11. <<: *debian
  12. ubuntu-12.04:
  13. <<: *debian
  14. centos-6: &el
  15. build_dependencies:
  16. - pam-devel
  17. dependencies:
  18. - pam
  19. - git
  20. centos-7:
  21. <<: *el
  22. before:
  23. - mv packager/Procfile .
  24. - mv packager/.godir .
  25. after:
  26. - mv bin/main gogs
  27. after_install: ./packager/debian/postinst