initial import
This commit is contained in:
29
python-fonttools/PKGBUILD
Normal file
29
python-fonttools/PKGBUILD
Normal file
@@ -0,0 +1,29 @@
|
||||
# Maintainer: Jesus E. <heckyel@riseup.net>
|
||||
|
||||
pkgname=python-fonttools
|
||||
pkgver=4.19.1
|
||||
pkgrel=1
|
||||
pkgdesc="A library to manipulate font files from Python"
|
||||
url='https://github.com/fonttools/fonttools'
|
||||
license=('Expat')
|
||||
arch=('i686' 'x86_64')
|
||||
depends=('python')
|
||||
makedepends=('python-cython')
|
||||
optdepends=('python-lxml: faster backend for XML files reading/writing'
|
||||
'python-matplotlib: for visualizing DesignSpaceDocument and resulting VariationModel'
|
||||
'python-pyqt: for drawing glyphs with Qts QPainterPath'
|
||||
'python-reportlab: to drawing glyphs as PNG images')
|
||||
source=("${pkgname}-${pkgver}.tar.xz::https://deb.debian.org/debian/pool/main/f/fonttools/fonttools_${pkgver}.orig.tar.xz")
|
||||
sha512sums=('418b02fcf653baf8ffa4ef0d5cb102b7dd02ef78ceca2a106ab54f521f603525cbf8754efa9c494c314529f862b468aee187785f2ec24f0ae4a575dad452e521')
|
||||
|
||||
build() {
|
||||
cd "$srcdir"/fonttools-${pkgver}
|
||||
python setup.py build_ext --inplace
|
||||
python setup.py build
|
||||
}
|
||||
|
||||
package() {
|
||||
cd "$srcdir"/fonttools-${pkgver}
|
||||
python setup.py install --skip-build --root="$pkgdir" --optimize=1
|
||||
install -D -m755 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname
|
||||
}
|
||||
Reference in New Issue
Block a user