# Template file for 'python3-fonttools' pkgname=python3-fonttools version=4.1.0 revision=1 wrksrc="${pkgname#python3-}-${version}" build_style=python3-module pycompile_module="fonttools" hostmakedepends="python3-devel python3-setuptools" makedepends="${hostmakedepends}" short_desc="Library to manipulate font files from Python3" maintainer="svenper " license="MIT, OFL-1.1, BSD-3-Clause" homepage="https://github.com/fonttools/fonttools" distfiles="https://github.com/fonttools/fonttools/archive/${version}.tar.gz" checksum=8c1919e11c3152446ec8de8283a6f43fffde6acdcab81b468d7fd6ad4b54e798 alternatives=" fonttools:fonttools:/usr/bin/fonttools3 fonttools:pyftmerge:/usr/bin/pyftmerge3 fonttools:pyftsubset:/usr/bin/pyftsubset3 fonttools:ttx:/usr/bin/ttx3 fonttools:ttx.1:/usr/share/man/man1/ttx3.1" post_install() { mv ${DESTDIR}/usr/bin/fonttools{,3} mv ${DESTDIR}/usr/bin/pyftmerge{,3} mv ${DESTDIR}/usr/bin/pyftsubset{,3} mv ${DESTDIR}/usr/bin/ttx{,3} mv ${DESTDIR}/usr/share/man/man1/ttx{,3}.1 vlicense LICENSE vlicense LICENSE.external }