blob: 41f3128bf53ec7e9c4303a273091f22c89b64057 (
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
|
# Maintainer: Luke Arms <luke@arms.to>
# Contributor: Jan Alexander Steffens (heftig) <heftig@archlinux.org>
pkgname=ttf-adobe-source-sans-fonts
pkgver=3.052
pkgrel=2
pkgdesc="Sans-serif font family for user interface environments"
url="https://adobe-fonts.github.io/source-sans/"
arch=(any)
license=(custom)
provides=("adobe-source-sans-fonts=$pkgver" "adobe-source-sans-pro-fonts=$pkgver")
_relver=3.052R
_tarname=source-sans-$_relver
_oldver=3.006R
_oldname=source-sans-$_oldver
source=("$_tarname.tar.gz::https://github.com/adobe-fonts/source-sans/archive/$_relver.tar.gz"
"$_oldname.tar.gz::https://github.com/adobe-fonts/source-sans/archive/$_oldver.tar.gz")
sha256sums=('21f4e24bbd7b24c31ba13ddb10600db3a61565f20f2ccf2347f4e114e6e34596'
'45dbc4994892710367e801869d8ad6b26589030977b660f6a968de36147ffd32')
package() {
# "Source Sans Pro"
cd $_oldname
install -Dt "$pkgdir/usr/share/fonts/${pkgname%-fonts}" -m644 TTF/*.ttf VAR/*.ttf
cd ..
# "Source Sans 3"
cd $_tarname
install -Dt "$pkgdir/usr/share/fonts/${pkgname%-fonts}" -m644 TTF/*.ttf VF/*.ttf
install -Dt "$pkgdir/usr/share/licenses/$pkgname" -m644 LICENSE.md
}
|