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-2.8.8.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
"
