summaryrefslogtreecommitdiff
path: root/user/otf-source-sans-pro/APKBUILD
blob: ef47f92e67ed202876ec3c8e9a85e87f5f617b9a (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
25
# Contributor: Sheila Aman <sheila@vulpine.house>
# Maintainer: Sheila Aman <sheila@vulpine.house>
pkgname=otf-source-sans-pro
pkgver=3.028
_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/source-sans-${_pkgver}R.zip"
builddir="$srcdir/source-sans-pro-${pkgver}R"

package() {
	cd "$srcdir"/OTF
	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="4aa01b9b56b7449118f171ae57a43309fb6ff7bb8e9c40643dc15b1aa529d39ecf496e9e8be60ef0cdc16762cfaf5b28b6ddadf818ddaeb3cceb8bb5d55f1891  source-sans-3v028R.zip"