mirror of
https://github.com/void-linux/void-packages.git
synced 2025-08-01 18:32:58 +02:00
tidy5: provide /usr/bin/tidy, replace tidy.
Adopted.
This commit is contained in:
parent
6dc4d73cac
commit
84dd712765
1 changed files with 8 additions and 8 deletions
|
@ -1,21 +1,22 @@
|
||||||
# Template file for 'tidy5'
|
# Template file for 'tidy5'
|
||||||
# This project has an identity crisis, it's "Tidy",
|
|
||||||
# "HTML Tidy" and "Tidy HTML5". Binaries are tidy5.
|
|
||||||
pkgname=tidy5
|
pkgname=tidy5
|
||||||
version=5.2.0
|
version=5.2.0
|
||||||
revision=1
|
revision=2
|
||||||
_reponame=tidy-html5
|
_reponame=tidy-html5
|
||||||
wrksrc=${_reponame}-${version}
|
wrksrc="${_reponame}-${version}"
|
||||||
build_style=cmake
|
build_style=cmake
|
||||||
cmake_builddir=build/cmake
|
cmake_builddir=build/cmake
|
||||||
hostmakedepends="cmake libxslt"
|
hostmakedepends="cmake libxslt"
|
||||||
short_desc="HTML Tidy with HTML5 support"
|
short_desc="Tool to tidy down your HTML/HTML5 code to a clean style"
|
||||||
maintainer="beefcurtains <beefcurtains@voidlinux.eu>"
|
maintainer="Christian Neukirchen <chneukirchen@gmail.com>"
|
||||||
license="W3C"
|
license="W3C"
|
||||||
homepage="http://www.htacg.org/${_reponame}/"
|
homepage="http://www.htacg.org/${_reponame}/"
|
||||||
distfiles="https://github.com/htacg/${_reponame}/archive/${version}.tar.gz"
|
distfiles="https://github.com/htacg/${_reponame}/archive/${version}.tar.gz"
|
||||||
checksum=80533415acf11ac55f24b874ab39448e390ffec3c2b93df4b857d15602fc7c4d
|
checksum=80533415acf11ac55f24b874ab39448e390ffec3c2b93df4b857d15602fc7c4d
|
||||||
|
|
||||||
|
provides="tidy-${version}_${revision}"
|
||||||
|
replaces="tidy>0"
|
||||||
|
|
||||||
pre_configure() {
|
pre_configure() {
|
||||||
# the $(man) target requires tidy5 to run on the host
|
# the $(man) target requires tidy5 to run on the host
|
||||||
ln -s ${cmake_builddir}/tidy
|
ln -s ${cmake_builddir}/tidy
|
||||||
|
@ -34,8 +35,7 @@ pre_configure() {
|
||||||
|
|
||||||
post_install() {
|
post_install() {
|
||||||
vlicense README/LICENSE.txt LICENSE
|
vlicense README/LICENSE.txt LICENSE
|
||||||
mv ${DESTDIR}/usr/bin/tidy{,5}
|
ln -s tidy ${DESTDIR}/usr/bin/tidy5
|
||||||
mv ${DESTDIR}/usr/share/man/man1/tidy{,5}.1
|
|
||||||
}
|
}
|
||||||
|
|
||||||
libtidy5_package() {
|
libtidy5_package() {
|
||||||
|
|
Loading…
Add table
Reference in a new issue