Package Details: htmlcompressor 1.5.3-3

Git Clone URL: https://aur.archlinux.org/htmlcompressor.git (read-only)
Package Base: htmlcompressor
Description: HTML compressor and minifier.
Upstream URL: http://code.google.com/p/htmlcompressor/
Licenses: Apache
Submitter: pshevtsov
Maintainer: metalgamer
Last Packager: metalgamer
Votes: 7
Popularity: 0.052580
First Submitted: 2011-05-08 07:18
Last Updated: 2016-12-04 13:41

Latest Comments

eimis commented on 2016-12-24 23:25

please add
noextract=("${pkgname}-${pkgver}.jar")
to PKGBUILD because makepkg invokes bsdtar which fails to extract the jar and package is not getting built.

Thank you - this is a great tool.

metalgamer commented on 2015-09-03 20:56

@Manouchehri seems to be an upstream issue https://github.com/marconilanna/htmlcompressor/issues/93

Manouchehri commented on 2015-09-02 19:52

Not entirely sure what's wrong, but htmlcompressor can't use closure. I might just be going blind, but the soft links look correct to me.


~ > readlink -f /usr/share/java/htmlcompressor/*
/usr/share/java/closure-compiler/closure-compiler.jar
/usr/share/java/htmlcompressor/htmlcompressor.jar
/usr/share/java/yuicompressor-2.4.8.jar

~ > for x in $(readlink -f /usr/share/java/htmlcompressor/*); do file "$x"; done
/usr/share/java/closure-compiler/closure-compiler.jar: Java archive data (JAR)
/usr/share/java/htmlcompressor/htmlcompressor.jar: Zip archive data, at least v1.0 to extract
/usr/share/java/yuicompressor-2.4.8.jar: Java archive data (JAR)

~ > htmlcompressor --compress-js --js-compressor yui /dev/null
~ > htmlcompressor --compress-js --js-compressor closure /dev/null
ERROR: For JavaScript compression using Google Closure Compiler
additional jar file called compiler.jar must be present
in the same directory as HtmlCompressor jar

solstice commented on 2012-04-24 09:16

yuicompressor is an optdepend. closure-compiler as well