summaryrefslogtreecommitdiff
path: root/user/otf-source-sans-pro/APKBUILD
blob: a9a03af599fc60318a6e9a0bfdae3c679e53e967 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
# Contributor: Síle Ekaterin Liszka <sheila@vulpine.house>
# Maintainer: Síle Ekaterin Liszka <sheila@vulpine.house>
pkgname=otf-source-sans-pro
pkgver=3.052
_pkgver=${pkgver%.*}v${pkgver#*.}
pkgrel=0
pkgdesc="Sans serif font family for user interfaces"
url="https://adobe-fonts.github.io/source-sans-pro"
arch="noarch"
options="!check"  # No test suite.
license="OFL-1.1"
depends="fontconfig"
makedepends=""
source="https://github.com/adobe-fonts/source-sans-pro/releases/download/${pkgver}R/OTF-source-sans-${pkgver}R.zip"
builddir="$srcdir/OTF"

package() {
	mkdir -p "$pkgdir"/usr/share/fonts/X11/OTF/${pkgname#*-}
	for i in *.otf; do
		install -Dm644 "$i" "$pkgdir"/usr/share/fonts/X11/OTF/${pkgname#*-}
	done
}

sha512sums="dcd0c783d6c298f0040ade1d548fa5632ecc04d1e6a30eb387288ee00473f06bff26b7a98323d4306cebeb5a48af143d170c00461057d22d335798c7c48a5e15  OTF-source-sans-3.052R.zip"