blob: f200a1e9344e3a822adde917b4819eedcb896d45 (
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
53
54
55
56
|
# Maintainer: Caleb Maclennan <caleb@alerque.com>
# Contributor: Anselmo L. S. Melo <anselmo.melo@intel.com>
pkgname=trufont-git
pkgver=0.6.3.r18.ge8d731e
pkgrel=2
pkgdesc='A streamlined and hackable font editor'
arch=('any')
url='https://trufont.github.io'
license=('GPL3' 'LGPL3')
_pydeps=('appdirs'
'booleanoperations'
'brotli'
'compreffor'
'cu2qu'
'defcon'
'fonttools'
'fs'
'hsluv'
'lxml'
'pyclipper'
'pyqt5'
'pyqt5-sip'
'pytz'
'six'
'ufo-extractor'
'ufo2ft'
'unicodedata2'
'zopfli')
depends=('python' "${_pydeps[@]/#/python-}")
makedepends=('git' 'python-setuptools')
provides=("${pkgname%-git}")
conflicts=("${provides[@]}")
source=("git+https://github.com/${pkgname%-git}/${pkgname/-/.}")
sha256sums=('SKIP')
pkgver() {
cd "${pkgname%-git}"
git describe --tags --abbrev=7 --match="[0-9]*" HEAD |
sed 's/\([^-]*-g\)/r\1/;s/-/./g'
}
build() {
cd "${pkgname%-git}"
python setup.py build
}
check() {
cd "${pkgname%-git}"
# python setup.py test
}
package() {
cd "${pkgname%-git}"
python setup.py install --root="$pkgdir" --optimize=1 --skip-build
}
|