void-packages/srcpkgs/python-html2text/template
q66 0f43428a36 New package: python-html2text-2019.8.11
This is necessary for calibre to function properly.
2020-04-06 17:14:50 +02:00

24 lines
760 B
Bash

# Template file for 'python2-html2text'
# Remove after calibre moves to py3
pkgname=python-html2text
version=2019.8.11
revision=2
archs=noarch
wrksrc="${pkgname#*-}-${version}"
build_style=python2-module
pycompile_module="html2text"
hostmakedepends="python-setuptools"
depends="python"
short_desc="HTML to Markdown-formatted text converter (Python2)"
maintainer="q66 <daniel@octaforge.org>"
license="GPL-3.0-only"
homepage="https://github.com/Alir3z4/html2text/"
distfiles="${PYPI_SITE}/h/html2text/html2text-${version}.tar.gz"
checksum=f516b9c10284174e2a974d86f91cab02b3cf983a17752075da751af0e895ef5e
post_install() {
rm -rf ${DESTDIR}/usr/bin
# for some reason the permissions are wrong (600)
chmod 644 ${DESTDIR}/${py2_sitelib}/html2text-*.egg-info/*
}