Package Details: tidy-html5-git 5.0.0.git_1566.8e70d4d-1

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://github.com/htacg/tidy-html5
Licenses: custom
Conflicts: tidy-html5, tidyhtml
Provides: tidy, tidyhtml
Submitter: bugix
Maintainer: kugland
Last Packager: kugland
Votes: 17
Popularity: 0.000000
First Submitted: 2011-11-23 10:48 (UTC)
Last Updated: 2021-04-12 20:52 (UTC)

Dependencies (2)

Required by (828)

Sources (1)

Latest Comments

1 2 3 Next › Last »

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...

<deleted-account> commented on 2015-07-01 12:02 (UTC)

tidy-html5 5.0.0 now provides "tidy" binary instead of "tidy5" and conflicts with old tidyhtml package from official repos

arthru commented on 2015-05-04 14:47 (UTC)

Indeed, the latest tags on tidy-html5 repo made invalid version. So I just used @cirk2 proposal. Please consider using https://aur.archlinux.org/packages/tidy-html5 package for the latest tagged version.