blob: 9fd6e28758f663430f7f44f877bfb96d8045123d (
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: Ali Molaei <ali dot molaei at protonmail dot com>
# Co-Maintainer: Mohammadreza Abdollahzadeh <morealaz at gmail dot com>
pkgbase=estedad-fonts
pkgname=("ttf-estedad" "ttf-estedad-variable"
"woff2-estedad" "woff2-estedad-variable")
pkgver=7.3
pkgrel=1
pkgdesc="A Sans Serif Arabic-Latin text typeface"
url="https://github.com/aminabedi68/Estedad"
arch=(any)
license=('OFL')
groups=("${pkgbase}" "persian-fonts")
source=("${pkgname}-${pkgver}.zip::${url}/releases/download/${pkgver}/Estedad-v${pkgver}.zip"
"${pkgbase}-LICENSE::${url}/raw/master/OFL.txt")
sha256sums=('a15726ac8b78b7d87f8b10fbc26581ef309f2c6a8a26f547d90b33d75c73cb87'
'b0672e6521cd32ca77db2127e23c134719efb0e5d0cf11c2dfc2b23d05b365ce')
package_ttf-estedad() {
pkgdesc="${pkgdesc} (TTF)."
cd "${srcdir}/Estedad-v${pkgver}"
install -Dt "${pkgdir}/usr/share/fonts/TTF" -m644 ttf/*.ttf
install -Dt "${pkgdir}/usr/share/fonts/TTF" -m644 ttf/FD/*.ttf
install -D -m644 ${srcdir}/${pkgbase}-LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
}
package_ttf-estedad-variable() {
pkgdesc="${pkgdesc} (TTF Variable)."
cd "${srcdir}/Estedad-v${pkgver}"
install -Dt "${pkgdir}/usr/share/fonts/TTF" -m644 Variable/*.ttf
install -D -m644 ${srcdir}/${pkgbase}-LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
}
package_woff2-estedad() {
pkgdesc="${pkgdesc} (WOFF2)."
cd "${srcdir}/Estedad-v${pkgver}"
install -Dt "${pkgdir}/usr/share/fonts/WOFF2" -m644 webfonts/statics/*.woff2
install -Dt "${pkgdir}/usr/share/fonts/WOFF2" -m644 webfonts/statics/FD/*.woff2
install -D -m644 ${srcdir}/${pkgbase}-LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
}
package_woff2-estedad-variable() {
pkgdesc="${pkgdesc} (WOFF2 Variable)."
cd "${srcdir}/Estedad-v${pkgver}"
install -Dt "${pkgdir}/usr/share/fonts/WOFF2" -m644 webfonts/variable/*.woff2
install -D -m644 ${srcdir}/${pkgbase}-LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
}
# vim:set ts=4 sw=4 et:
|