Package: pasdoc
Version: 0.16.0
Revision: 1
Description: Documentation tool for Pascal source code
License: GPL

BuildDepends: fpc

# Unpack Phase
Source: https://github.com/%n/%n/archive/refs/tags/v%v.tar.gz
Source-Checksum: SHA256(46f850254a67888ce0fe1f67e5022cf1c2a1acac73ad6dc29f85fcfd6ebe7ec8)
SourceRename: %n-%v.tar.gz

# Compile Phase
Compilescript: <<
  make
<<

# Install Phase
Installscript: <<
  mkdir -p %i/bin/
  install -c -m 755 bin/pasdoc %i/bin/
<<

# Documentation
DocFiles: LICENSE *.md old_docs/pasdoc.pdf old_docs/pasdoc.html old_docs/pasdoc.css

# Additional Info
DescDetail: <<
  PasDoc is a documentation tool for Pascal and ObjectPascal source code. 
  The documentation is generated from comments found in the source code.
  Available output formats are HTML, HtmlHelp, LaTeX, latex2rtf, simplexml.
  Type "pasdoc --help" to get a better feeling for how PasDoc works.
  Also, see the web page for more information about PasDoc.
<<

Homepage: https://github.com/pasdoc/pasdoc/wiki
Maintainer: Karl-Michael Schindler <karl-michael.schindler@web.de>