blob: e63d8a367f818a1a53b0c471bea3f4270fdfbcd8 (
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
|
# Maintainer: Miguel Useche <migueluseche@mozilla-hispano.org>
pkgbase=otf-zilla-slab
pkgname=('otf-zilla-slab' 'ttf-zilla-slab')
pkgver=1.002
pkgrel=3
pkgdesc="Mozilla's Zilla Slab Type Family"
url=https://github.com/mozilla/zilla-slab
arch=('any')
depends=('fontconfig')
source=($pkgname.tar.gz::https://github.com/mozilla/zilla-slab/releases/download/v$pkgver/Zilla-Slab-Fonts-v$pkgver.zip)
sha256sums=('62490dc19cd17e2951fe88ba3e662089ca14077634cacf1f12926374281dcf42')
install=${pkgname}.install
license=("custom: SIL Open Font License")
package_otf-zilla-slab() {
cd "${srcdir}/zilla-slab/otf/"
find . -name '*.otf' -execdir install -Dm644 {} $pkgdir/usr/share/fonts/OTF/{} \;
# install -D -m644 "${srcdir}/zilla-slab/LICENSE" "${pkgdir}/usr/share/licenses/${pkgname[0]}/LICENSE"
}
package_ttf-zilla-slab() {
cd "${srcdir}/zilla-slab/ttf/"
find . -name '*.ttf' -execdir install -Dm644 {} $pkgdir/usr/share/fonts/TTF/{} \;
# install -D -m644 "${srcdir}/zilla-slab/LICENSE" "${pkgdir}/usr/share/licenses/${pkgname[1]}/LICENSE"
}
|