New package: tidy5-4.9.30

This commit is contained in:
beefcurtains 2015-06-29 11:41:27 +00:00
parent e30ccdc3ea
commit 7c9c32e8cb
5 changed files with 53 additions and 0 deletions

View file

@ -2070,3 +2070,4 @@ libprocps.so.4 procps-ng-3.3.10_8
libskarnet.so.2 skalibs-2.3.5.1_1
libportablexdr.so.0 portablexdr-4.9.1_1
libtorrent-rasterbar.so.8 libtorrent1-1.0.5_1
libtidy5.so.4 libtidy5-4.9.30_1

1
srcpkgs/libtidy5 Symbolic link
View file

@ -0,0 +1 @@
tidy5

1
srcpkgs/libtidy5-devel Symbolic link
View file

@ -0,0 +1 @@
tidy5

View file

@ -0,0 +1,11 @@
--- CMakeLists.txt.orig
+++ CMakeLists.txt
@@ -157,7 +157,7 @@
set(name ${LIB_NAME})
set ( BINDIR console )
add_executable( ${name} ${BINDIR}/tidy.c )
-target_link_libraries( ${name} ${add_LIBS} )
+target_link_libraries( ${name} tidy-share )
if (MSVC)
set_target_properties( ${name} PROPERTIES DEBUG_POSTFIX d )
endif ()

39
srcpkgs/tidy5/template Normal file
View file

@ -0,0 +1,39 @@
# Template file for 'tidy5'
# This project has an identity crisis, it's "Tidy",
# "HTML Tidy" and "Tidy HTML5". Binaries are tidy5.
pkgname=tidy5
_reponame=tidy-html5
version=4.9.30
revision=1
wrksrc=${_reponame}-${version}
build_style=cmake
cmake_builddir=build/cmake
hostmakedepends="cmake libxslt"
short_desc="HTML Tidy with HTML5 support"
maintainer="beefcurtains <beefcurtains@voidlinux.eu>"
license="W3C"
homepage="http://www.htacg.org/${_reponame}/"
distfiles="https://github.com/htacg/${_reponame}/archive/${version}.tar.gz"
checksum=569c23f9028e28ca5dd2020116dec01d2e43e0c698fdf9d0f6e599878495386d
nocross=yes
post_install() {
vlicense LICENSE.txt LICENSE
}
libtidy5_package() {
short_desc+=" - library files"
pkg_install() {
vmove "usr/lib/*.so.*"
}
}
libtidy5-devel_package() {
depends="libtidy5>=${version}_${revision}"
short_desc+=" - development files"
pkg_install() {
vmove usr/include
vmove "usr/lib/*.a"
vmove "usr/lib/*.so"
}
}