# Description: Outil de nettoyage de code HTML
# URL: http://tidy.sourceforge.net
# Maintainer: NutyX core team
# Packager: lesibel at free dot fr

name=tidyhtml
version=1.46
release=1

source=(ftp://ftp.archlinux.org/other/$name/$name-$version.tar.bz2)

build() {
	cd $name-$version/tidy
  	source build/gnuauto/setup.sh
  
  	./configure --prefix=/usr
  	make
  	make DESTDIR=$PKG install
  
  	install -Dm644 htmldoc/license.html \
    		$PKG/usr/share/licenses/$name/license.txt
}