# Description: Converts HTML into Adobe PDF
# URL:         http://michaelrsweet.github.io/htmldoc
# Maintainer:  Thomas Penteker, tek at serverop dot de
# Packager:    James Mills, prologic at shortcircuit dot net dot au
# Depends on:

name=htmldoc
version=1.9.4
release=1
source=(https://github.com/michaelrsweet/htmldoc/archive/v${version}/${name}-v${version}-source.tar.gz)

build() {
  cd $name-$version

  ./configure --prefix=/usr --disable-gnutls

  make
  make prefix=$PKG/usr \
    datadir=$PKG/usr/share \
    bindir=$PKG/usr/bin \
    mandir=$PKG/usr/share/man install

  rm -rf $PKG/usr/share/doc
}
