### this file is sourced not run
PKGVER=5.6.0
PKGBUILD=1
PKGARCH=x86_64

# source: james
TARBALL=html-tidy-$PKGVER.tar.gz
MD5SUM=85c8a163d9ece6a02fe12bc9bddbc455
SRC_URL=https://github.com/htacg/tidy-html5/archive/${PKGVER}.tar.gz
BUNDLE=

SLACKREQ=
SLACKDESC="html-tidy: html-tidy $PKGVER (X/HTML XML markup cleaner)  
html-tidy:  
html-tidy: The HTML Tidy package contains a command line tool and libraries 
html-tidy: used to read HTML, XHTML and XML files and write cleaned up markup. 
html-tidy: It detects and corrects many common coding errors and strives to 
html-tidy: produce visually equivalent markup that is both W3C compliant and 
html-tidy: compatible with most browsers.  
html-tidy: 
html-tidy: 
html-tidy: 
html-tidy: 
"

### default pkg_download
### default pkg_prepare
### default pkg_package
### build
pkg_build() {
	CMAKEFLAGS="$CMAKEFLAGS \
		-DTIDY_CONSOLE_SHARED=ON \
		-DBUILD_TAB2SPACE=ON     \
		-DTIDY_COMPAT_HEADERS=ON \
		-DLIB_SUFFIX=64
	"
	pkg_build_cmake htbuild &&
	pkg_build_slackdesc
	rm -f /usr/$LIBDIR/libtidys.a # we don't want the static lib
}


