summaryrefslogblamecommitdiff
path: root/user/otf-source-sans-pro/APKBUILD
blob: 497de47fa8ceb941e15dd6a934c3c237a608a190 (plain) (tree)
























                                                                                                                                                                                      
# Contributor: Kiyoshi Aman <kiyoshi.aman+adelie@gmail.com>
# Maintainer: Kiyoshi Aman <kiyoshi.aman+adelie@gmail.com>
pkgname=otf-source-sans-pro
pkgver=2.045
_pkgver=1.095
pkgrel=0
pkgdesc="Sans serif font family for user interfaces"
url="https://adobe-fonts.github.io/source-sans-pro"
arch="noarch"
options="!check" # No tests
license="OFL-1.1"
depends="fontconfig"
makedepends=""
source="https://github.com/adobe-fonts/source-sans-pro/releases/download/2.045R-ro%2F1.095R-it/source-sans-pro-${pkgver}R-ro-${_pkgver}R-it.zip"
builddir="$srcdir/source-sans-pro-${pkgver}R-ro-${_pkgver}R-it"

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

sha512sums="51b4936460b8882134a362af0c6e2200dc929fa94150346628a8fe3b0ecb5b7f97380ba4b8a339b06e0c5d6d92d4454e95b72eccf12195046475d7aed68cf6fc  source-sans-pro-2.045R-ro-1.095R-it.zip"