commit e419c2cd2337dcaf3033f3d5e9f1dc9086de780f Author: Danny Rawlins <monster.romster@gmail.com> Date: Sat Nov 30 17:01:31 2019 +1100 tidy: 20110307 -> 5.7.16 diff --git a/tidy/.footprint b/tidy/.footprint index 06532105d..27557b822 100644 --- a/tidy/.footprint +++ b/tidy/.footprint @@ -1,14 +1,21 @@ drwxr-xr-x root/root usr/ drwxr-xr-x root/root usr/bin/ --rwxr-xr-x root/root usr/bin/tab2space -rwxr-xr-x root/root usr/bin/tidy drwxr-xr-x root/root usr/include/ --rw-r--r-- root/root usr/include/buffio.h --rw-r--r-- root/root usr/include/platform.h +lrwxrwxrwx root/root usr/include/buffio.h -> tidybuffio.h +lrwxrwxrwx root/root usr/include/platform.h -> tidyplatform.h -rw-r--r-- root/root usr/include/tidy.h +-rw-r--r-- root/root usr/include/tidybuffio.h -rw-r--r-- root/root usr/include/tidyenum.h +-rw-r--r-- root/root usr/include/tidyplatform.h drwxr-xr-x root/root usr/lib/ -lrwxrwxrwx root/root usr/lib/libtidy-0.99.so.0 -> libtidy-0.99.so.0.0.0 --rwxr-xr-x root/root usr/lib/libtidy-0.99.so.0.0.0 --rwxr-xr-x root/root usr/lib/libtidy.la -lrwxrwxrwx root/root usr/lib/libtidy.so -> libtidy-0.99.so.0.0.0 +lrwxrwxrwx root/root usr/lib/libtidy.so -> libtidy.so.5 +lrwxrwxrwx root/root usr/lib/libtidy.so.5 -> libtidy.so.5.7.16 +-rwxr-xr-x root/root usr/lib/libtidy.so.5.7.16 +-rw-r--r-- root/root usr/lib/libtidys.a +drwxr-xr-x root/root usr/lib/pkgconfig/ +-rw-r--r-- root/root usr/lib/pkgconfig/tidy.pc +drwxr-xr-x root/root usr/share/ +drwxr-xr-x root/root usr/share/man/ +drwxr-xr-x root/root usr/share/man/man1/ +-rw-r--r-- root/root usr/share/man/man1/tidy.1.gz diff --git a/tidy/.signature b/tidy/.signature index 31d6bdb61..889639972 100644 --- a/tidy/.signature +++ b/tidy/.signature @@ -1,5 +1,5 @@ untrusted comment: verify with /etc/ports/contrib.pub -RWSagIOpLGJF3zaLJ3mMoqQfpMiDTVUXAY+EU3kvF8+N5JXIJueDCg+/QaB2J5yFDhwNo11Y1W8CFA8Fhs6z24tMsa6WN2gkEwM= -SHA256 (Pkgfile) = 7987576f0fa9399aad3c9fbcd027e29e7fa83cee6355b988af473fd4f85d9198 -SHA256 (.footprint) = c24e6fc431b052562e63cf50bff70669578583e6dcbdf01a66b6218259a6a1e9 -SHA256 (tidy-snapshot-20110307.tar.bz2) = 350c9fe036b3e717b7584ef068d8afdabbde682dcb4d1d13269bc481e659454f +RWSagIOpLGJF3/9IjIXUA3v/3hvc6J4zdAkxHDbVEtgP2Zi6E/VCz1POw5zkLphjAEC/NkRXGq13EKTwGvP/OwC9WZjmpRqlbwk= +SHA256 (Pkgfile) = 10b310aff6ea14923b3cae87afd58a6bc9566d2cf2421161e7403ee03a69e97d +SHA256 (.footprint) = 45314ae50019a751cc125eade488db16e8d2be0ad65ce335bb345338f4753163 +SHA256 (tidy-5f7e367cb54563dabda4bf4e3c11c6ecc68a0fa3.tar.gz) = 7ff3ef0a774f44e780df9b94e48c2ea070a6cfc791b5bd907359fd718a7f1004 diff --git a/tidy/Pkgfile b/tidy/Pkgfile index d3e217aa3..febc8961d 100644 --- a/tidy/Pkgfile +++ b/tidy/Pkgfile @@ -1,20 +1,28 @@ -# Description: HTML/XML/XHTML cleanup tool. -# URL: http://tidy.sourceforge.net/ +# Description: A tool to tidy down your HTML code to a clean style +# URL: http://www.html-tidy.org/ # Maintainer: Danny Rawlins, crux at romster dot me -# Packager: Han Boetes, han mijncomputer dot nl +# Depends on: libxslt cmake name=tidy -version=20110307 +version=5.7.16 +commit=5f7e367cb54563dabda4bf4e3c11c6ecc68a0fa3 release=1 -source=(http://crux.ster.zone/downloads/$name/$name-snapshot-$version.tar.bz2) +source=(https://github.com/htacg/tidy-html5/archive/$commit.tar.gz#/$name-$commit.ta...) build() { - cd $name + cd tidy-html5-$commit - ./configure \ - --prefix=/usr \ - --disable-static + mkdir -p build + cd build + + cmake .. \ + -DCMAKE_INSTALL_PREFIX=/usr \ + -DCMAKE_BUILD_TYPE=Release make make DESTDIR=$PKG install + + # Compatibility symlinks until everything is ported + ln -s tidybuffio.h $PKG/usr/include/buffio.h + ln -s tidyplatform.h $PKG/usr/include/platform.h }