# Description: Source code to formatted text converter
# URL: http://www.andre-simon.de/doku/highlight/en/highlight.php
# Maintainer: Tim Biermann, tbier at posteo dot de
# Depends on: lua boost

name=highlight
version=4.6
release=1
source=(http://www.andre-simon.de/zip/$name-$version.tar.bz2)

build() {
  cd $name-$version

  make
  make cli

  make DESTDIR=${PKG} install

  prt-get isinst bash-completion || rm -r $PKG/usr/share/bash-completion
  prt-get isinst fish || rm -r $PKG/usr/share/fish
  prt-get isinst zsh || rm -r $PKG/usr/share/zsh

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