# Template file for 'python3-fonttools' pkgname=python3-fonttools version=4.0.0 revision=2 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=f854849ca51f8ac39b7627bb61142e33e833f4f1f6de882273d1011726819957 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 }