blob: 69c1f32eca3c19d23c100d5900d5088f0f413de1 (
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
|
# Maintainer: Caleb Maclennan <caleb@alerque.com>
pkgname=fontship-git
pkgver=0.0.3.r4.g0e3a201
pkgrel=1
pkgdesc='A font development toolkit and collaborative work flow'
arch=('any')
url="https://github.com/theleagueof/${pkgname%-git}"
license=('AGPL3')
depends=('entr'
'font-v'
'gftools'
'git'
'libarchive'
'make'
'python'
'python-brotli' # fonttools optdepends
'python-click'
'python-fontmake'
'python-fonttools'
'python-fs' # fonttools optdepends
'python-lxml' # fonttools optdepends
'python-ufonormalizer'
'python-unicodedata2' # fonttools optdepends
'python-zopfli' # fonttools optdepends
'sfnt2woff-zopfli'
'ttfautohint'
'zsh')
provides=("${pkgname%-git}")
conflicts=("${provides[@]}")
source=("git+$url.git")
sha256sums=('SKIP')
pkgver() {
cd "${pkgname%-git}"
git describe --long --abbrev=7 --match 'v*' --tags |
sed 's/^v//;s/\([^-]*-g\)/r\1/;s/-/./g'
}
prepare() {
cd "${pkgname%-git}"
./bootstrap.sh
}
build() {
cd "${pkgname%-git}"
./configure --prefix="/usr"
make
}
package() {
cd "${pkgname%-git}"
make DESTDIR="$pkgdir" install
}
|