blob: 7c6dc3d0b5ea6a6b625861d003f306d451ee2863 (
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
|
# Maintainer: Caleb Maclennan <caleb@alerque.com>
_upname=FoundryTools-CLI
pkgname=ftcli
pkgver=2.1.1
pkgrel=1
pkgdesc='Foundry Tools command line font editor'
arch=(any)
url="https://github.com/ftCLI/$_upname"
license=(MIT)
_pydeps=(click
loguru
pathvalidate
foundrytools
rich)
depends=(afdko
python
"${_pydeps[@]/#/python-}")
makedepends=(python-{build,installer,wheel}
python-uv-build)
_archive="$_upname-$pkgver"
source=("$url/archive/v$pkgver/$_archive.tar.gz")
sha256sums=('5a26b4558567e5c10a1e7725731f2fc1fd2695e15d121a659610b91e0ff32444')
build() {
cd "$_archive"
python -m build -wn
}
package() {
cd "$_archive"
python -m installer -d "$pkgdir" dist/*.whl
install -Dm0644 -t "$pkgbase/usr/share/licenses/$pkgname/" LICENSE
}
|