# Tanım: HTML, XHTML ve XML için HTML Temizlik kütüphanesi
# URL: https://github.com/htacg/tidy-html5
# Paketçi: halityilmaz1982
# Gerekler: cmake libxslt
isim=tidy-html5
surum=5.4.0
devir=1
kaynak=(https://github.com/htacg/$isim/releases/download/$surum/$isim-$surum.tar.gz)
derle() {
cd $isim-$surum
cd build/cmake
cmake -DCMAKE_INSTALL_PREFIX=/usr \
-DCMAKE_BUILD_TYPE=Release \
-DBUILD_TAB2SPACE=ON \
../..
make
make DESTDIR=$PKG install
install -d $PKG/usr/bin
install -v -m755 $SRC/$isim-$surum/build/cmake/tab2space $PKG/usr/bin
}