blob: 2c0b5985823f582fd5c61cbef907ed4b4d58ad23 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
|
# Maintainer: Caleb Maclennan <caleb@alerque.com>
pkgname=ygt
pkgver=0.2.5
pkgrel=2
pkgdesc='A graphical hint editor for TrueType fonts'
arch=(any)
url="https://github.com/psb1558/$pkgname"
license=(Apache-2.0)
_pydeps=(defcon
fonttools
freetype-py
fs # fonttools[ufo]
numpy
pyqt6
pyyaml
schema
ufo2ft
uharfbuzz
xgridfit)
depends=(python
"${_pydeps[@]/#/python-}")
makedepends=(python-{build,installer,wheel}
python-setuptools)
_archive="$pkgname-$pkgver"
source=("$url/archive/v$pkgver/$_archive.tar.gz")
sha256sums=('112a915bc3381f60e6594a072c549ed4e3e275d607d76ac2b51cca835b530a60')
build() {
cd "$_archive"
python -m build -wn
}
package() {
cd "$_archive"
python -m installer -d "$pkgdir" dist/*.whl
}
|