diff --git a/srcpkgs/python3-fonttools/template b/srcpkgs/python3-fonttools/template index 8b1038e1d5a..ce2ced8669c 100644 --- a/srcpkgs/python3-fonttools/template +++ b/srcpkgs/python3-fonttools/template @@ -1,7 +1,7 @@ # Template file for 'python3-fonttools' pkgname=python3-fonttools version=4.0.0 -revision=1 +revision=2 wrksrc="${pkgname#python3-}-${version}" build_style=python3-module pycompile_module="fonttools" @@ -13,8 +13,19 @@ 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 }