python3-fonttools: fix conflicts from python version branch-off

This commit is contained in:
svenper 2019-08-25 16:46:30 +02:00 committed by Helmut Pozimski
parent 1b819d4a62
commit 7081841b18

View file

@ -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
}