app=hyphen
version=2.8.8
build=1sml
homepage="https://sourceforge.net/projects/hunspell/files/Hyphen/"
download="https://sourceforge.net/projects/hunspell/files/Hyphen/2.8/hyphen-$version.tar.gz"
desc="TeX hyphenation library"
requires="perl"

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

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

  ./configure \
    --prefix="" \
    --disable-static 

  make
  make install DESTDIR=$pkg

  cp COPYING* $pkgdocs/

  mkfinalpkg
}

sha512sums="
a864bd252ebe782ea8d9064bfd0a30ab398d4f44b1e0c76c3409ec8f9316886d38dc2b4dc7512faff6ee0364f814ebd344a164b933504b38ea81c9704ae73543  hyphen-2.8.8.tar.lz
"
