milis/talimatname/genel/t/tidy-html5/talimat

25 lines
611 B
Plaintext
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

# 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
# Grup: kütüphane
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
}