diff --git a/srcpkgs/xml2rfc-pdf b/srcpkgs/xml2rfc-pdf new file mode 120000 index 00000000000..2e02a96be87 --- /dev/null +++ b/srcpkgs/xml2rfc-pdf @@ -0,0 +1 @@ +xml2rfc \ No newline at end of file diff --git a/srcpkgs/xml2rfc/template b/srcpkgs/xml2rfc/template new file mode 100644 index 00000000000..8449177120e --- /dev/null +++ b/srcpkgs/xml2rfc/template @@ -0,0 +1,28 @@ +# Template file for 'xml2rfc' +pkgname=xml2rfc +version=3.15.0 +revision=1 +build_style=python3-module +hostmakedepends="python3-setuptools" +depends="python3-appdirs python3-ConfigArgParse python3-html5lib + python3-intervaltree python3-Jinja2 python3-MarkupSafe python3-kitchen + python3-lxml python3-pycountry python3-yaml python3-requests python3-six + python3-google-i18n-address" +short_desc="Generate RFCs and IETF drafts from XML" +maintainer="Andrew Benson " +license="BSD-3-Clause" +homepage="https://ietf-tools.github.io/xml2rfc/" +distfiles="https://github.com/ietf-tools/xml2rfc/releases/download/v${version}/xml2rfc-${version}.tar.gz" +checksum=65dac6ad7e59cb296f00c53d5d18355d7cae23bc99706234f84d6c6c19ed61c5 +make_check=no # too many dependencies + +post_install() { + vlicense LICENSE +} + +xml2rfc-pdf_package() { + short_desc+=" - PDF Support" + depends="${sourcepkg}-${version}_${revision} python3-WeasyPrint pango + noto-fonts-ttf fonts-roboto-ttf" + build_style=meta +}