32 lines
1.0 KiB
Bash
32 lines
1.0 KiB
Bash
# Template file for 'python-fonttools'
|
|
pkgname=python-fonttools
|
|
version=3.44.0
|
|
revision=4
|
|
wrksrc="${pkgname#python-}-${version}"
|
|
build_style=python2-module
|
|
pycompile_module="fonttools"
|
|
hostmakedepends="python-devel python-setuptools"
|
|
makedepends="${hostmakedepends}"
|
|
short_desc="Library to manipulate font files from Python2"
|
|
maintainer="svenper <svenper@tuta.io>"
|
|
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=9dadbca88a5a841d821f6892fa9f4715ec03afd53980aaf4d61bd4be345b24ed
|
|
alternatives="
|
|
fonttools:fonttools:/usr/bin/fonttools2
|
|
fonttools:pyftmerge:/usr/bin/pyftmerge2
|
|
fonttools:pyftsubset:/usr/bin/pyftsubset2
|
|
fonttools:ttx:/usr/bin/ttx2
|
|
fonttools:ttx.1:/usr/share/man/man1/ttx2.1"
|
|
|
|
post_install() {
|
|
mv ${DESTDIR}/usr/bin/fonttools{,2}
|
|
mv ${DESTDIR}/usr/bin/pyftmerge{,2}
|
|
mv ${DESTDIR}/usr/bin/pyftsubset{,2}
|
|
mv ${DESTDIR}/usr/bin/ttx{,2}
|
|
mv ${DESTDIR}/usr/share/man/man1/ttx{,2}.1
|
|
vlicense LICENSE
|
|
vlicense LICENSE.external
|
|
}
|