app=highlight
version=4.0
build=1sml
homepage="http://www.andre-simon.de/doku/highlight/en/highlight.php"
download="http://www.andre-simon.de/zip/highlight-$version.tar.bz2"
desc="Universal syntax highlighter"
requires="gcc-libs musl lua53 readline netbsd-curses"

build() {
  mkandenterbuilddir
  rm -rf $app-$version

  tar xf $srcdir/$app-$version.tar.?z*
  cd $app-$version
  fixbuilddirpermissions

  make 
  make install PREFIX="/" DESTDIR=$pkg

  cp COPYING $pkgdocs/

  mkfinalpkg
}

sha512sums="
f790e86daa0f4ab1f812f55eb374ddfdb6533870851a6b59869784d5a1a1698e22cc25b6373297f57712c5aa8f06b3614d9ef840251750cacb21070fdc038d65  highlight-4.0.tar.bz2
"
