summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: b49938abd85e37da6897900268fcb370d8934b07 (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
# Maintainer: Caleb Maclennan <caleb@alerque.com>

_pipname=pysilfont
pkgname=python-$_pipname
pkgver=1.5.0
pkgrel=3
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=('python-setuptools')
optdepends=('fontbakery'
            'python-glyphconstruction'
            'python-palaso')
source=("$pkgname-$pkgver.tar.gz::$url/archive/v$pkgver.tar.gz")
sha256sums=('04b81916d372a9300417715ffa3b9e259127babd9b78d69aecff1591942d913f')

build() {
    cd "$_pipname-$pkgver"
    python setup.py build
}

package() {
    cd "$_pipname-$pkgver"
    python setup.py install --root="$pkgdir" --optimize=1 --skip-build
}