--- check: wkhtmltopdf --version | grep ^wkhtmltopdf | grep -E '[0-9]\.[0-9]+' | grep patched || (wkhtmltopdf --version; false) all: type: custom pre: OS_RELEASE="bullseye" command: | DEB_HOST_ARCH="$( dpkg-architecture --query DEB_HOST_ARCH )" \ && WK_URL="$( \ curl -sS -k -L --fail 'https://wkhtmltopdf.org/downloads.html' \ | awk -F'"' "/wkhtmltopdf.*${OS_RELEASE}_${DEB_HOST_ARCH}\.deb/{print \$(NF-1)}" \ | head -1 \ )" \ && echo "URL: ${WK_URL}" \ && curl -sS -k -L --fail -o /tmp/wkhtmltopdf.deb "${WK_URL}" \ && dpkg -i /tmp/wkhtmltopdf.deb \ && rm -f /tmp/wkhtmltopdf.deb \ run_dep: - fontconfig - libfontenc1 - libxfont2 - libxrender1 - xfonts-75dpi - xfonts-base - xfonts-encodings - xfonts-utils 7.2: type: custom pre: OS_RELEASE="buster" 7.1: type: custom pre: OS_RELEASE="buster" 7.0: type: custom pre: OS_RELEASE="stretch" run_dep: - fontconfig - libfontenc1 - libxfont1 - libxrender1 - xfonts-75dpi - xfonts-base - xfonts-encodings - xfonts-utils 5.6: type: custom pre: OS_RELEASE="stretch" run_dep: - fontconfig - libfontenc1 - libxfont1 - libxrender1 - xfonts-75dpi - xfonts-base - xfonts-encodings - xfonts-utils