blob: 01ed7f26dfeea8b687fe478d846013449e00610e (
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
39
40
41
42
43
44
45
46
47
48
49
50
51
52
|
# Maintainer: Caleb Maclennan <caleb@alerque.com>
_pipname=pysilfont
pkgname=python-$_pipname-git
pkgver=1.5.0.r94.g0b48597
pkgrel=1
pkgdesc='Python-based font utilities collection and framework'
arch=(any)
url="https://github.com/silnrsi/$_pipname"
license=(MIT)
_py_deps=(booleanoperations
compreffor
cu2qu
defcon
fontmath
fontparts
fonttools
future
glyphslib
lz4
mutatormath
odfpy
pyclipper
ufo2ft
ufolib2)
depends=('python'
"${_py_deps[@]/#/python-}")
makedepends=(git
python-setuptools)
optdepends=(fontbakery
python-glyphconstruction
python-palaso)
provides=("${pkgname%-git}")
conflicts=("${pkgname%-git}")
source=("$pkgname::git+$url.git")
sha256sums=('SKIP')
pkgver() {
cd "$pkgname"
git describe --tags --abbrev=7 --match="v*" HEAD |
sed 's/^v//;s/\([^-]*-g\)/r\1/;s/-/./g'
}
build() {
cd "$pkgname"
python setup.py build
}
package() {
cd "$pkgname"
python setup.py install --root="$pkgdir" --optimize=1 --skip-build
}
|