1. pkgname=cldoc
  2. pkgver=1.9
  3. pkgrel=1
  4. pkgdesc='cldoc is a clang based documentation generator for C and C++. cldoc tries to solve the issue of writing C/C++ software documentation with a modern, non-intrusive and robust approach.'
  5. arch=('i686' 'x86_64')
  6. url='http://jessevdk.github.com/cldoc'
  7. license=('GPL2')
  8. depends=('python2' 'python2-pyparsing')
  9. makedepends=('ruby-sass' 'npm')
  10. options=(!emptydirs)
  11. source=("$pkgname-$pkgver::https://github.com/jessevdk/cldoc/archive/v${pkgver}.tar.gz")
  12. md5sums=('fada948e1ce7cd0aa1fa330a2fdd256d')
  13. prepare() {
  14. cd "$srcdir/$pkgname-$pkgver"
  15. npm install [email protected] [email protected] --python=python2
  16. }
  17. build() {
  18. cd "$srcdir/$pkgname-$pkgver"
  19. python2 setup.py generate \
  20. --coffee=node_modules/.bin/coffee
  21. }
  22. package() {
  23. cd "$srcdir/$pkgname-$pkgver"
  24. python2 setup.py install --root="$pkgdir/" --optimize=1
  25. }
  26. # vim:set ts=2 sw=2 et:
Comments powered by Disqus