Package Details: tidy-html5-git latest-2

Git Clone URL: https://aur.archlinux.org/tidy-html5-git.git (read-only, click to copy)
Package Base: tidy-html5-git
Description: A tool to tidy down your HTML5 code to a clean style
Upstream URL: https://www.html-tidy.org/
Licenses: custom
Conflicts: tidy-html5, tidyhtml
Provides: tidy, tidyhtml
Submitter: bugix
Maintainer: plp
Last Packager: plp
Votes: 18
Popularity: 0.016405
First Submitted: 2011-11-23 10:48 (UTC)
Last Updated: 2024-05-31 08:05 (UTC)

Dependencies (2)

Required by (450)

Sources (1)

Latest Comments

1 2 3 Next › Last »

Richardn commented on 2024-11-13 15:24 (UTC)

All appearances of $name in the PKGBUILD shall be changed to $pkgname for this to be built. (I don't understand why in this commit the $name variable definition is explicitly removed. PKGBUILD spec changed across then and now?)

plp commented on 2024-05-31 08:11 (UTC)

I just adopted the package and made it to work with latest version reported by Git (5.9.20). Please let me know of any problems.

tuxsavvy commented on 2021-08-16 16:01 (UTC)

Hi, thanks for maintaining this package. There are a number of issues that I want to point out: * Version 5.0.0 is outdated, the latest released version is 5.8.0 as of writing, * I do not recommend fixing it to version 5.0.0 in pkgver() {}, * source=() should probably point to https instead of git. As such I have addressed it with the following in a patch:

--- PKGBUILD.orig
+++ PKGBUILD
@@ -2,7 +2,7 @@
 # Previous maintainer: Martin Imobersteg <martin.imobersteg@gmail.com>
 pkgname=tidy-html5-git
 name=tidy-html5
-pkgver=5.0.0.git_1566.8e70d4d
+pkgver=5.9.9.next.r0.gc8fbde5
 pkgrel=1
 pkgdesc="A tool to tidy down your HTML5 code to a clean style"
 url="https://github.com/htacg/tidy-html5"
@@ -12,13 +12,12 @@
 makedepends=('git' 'cmake')
 provides=('tidy' 'tidyhtml')
 conflicts=('tidy-html5' 'tidyhtml')
-source=('git://github.com/htacg/tidy-html5.git')
+source=('git+https://github.com/htacg/tidy-html5.git')
 md5sums=('SKIP')

 pkgver(){
     cd $srcdir/$name
-
-    echo 5.0.0.git_$(git rev-list --count HEAD).$(git rev-parse --short HEAD)
+    git describe --long --tags | sed 's/\([^-]*-g\)/r\1/;s/-/./g'
 }

 build() {

Besides, this patch should make it follow the directives as mentioned here, https://wiki.archlinux.org/title/VCS_package_guidelines#VCS_sources

arthru commented on 2016-01-18 07:52 (UTC)

@askr : just done !

arthru commented on 2015-11-25 10:08 (UTC)

Hi, I just uploaded the suggested changes. Thanks @aksr and @nurfz !

nurfz commented on 2015-11-22 04:59 (UTC)

They moved the LICENCE.md to the README/ directory -> build fails with: -- Installing: /home/jakob/aur/tidy-html5-git/pkg/tidy-html5-git/usr/share/man/man1/tidy.1 install: cannot stat ‘/home/jakob/aur/tidy-html5-git/src/tidy-html5/LICENSE.md’: No such file or directory ==> ERROR: A failure occurred in package(). Aborting...

arthru commented on 2015-07-02 08:31 (UTC)

I tried to override binarys name in build but it did not work (I am not that familiar with cmake...). So for now, just marking that the package conflicts with tidyhtml...