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-4.0.tar.bz2'
DESC="a 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
"
