summaryrefslogtreecommitdiff
path: root/user/otf-source-code-pro/APKBUILD
blob: 551a2e1f69134df4897d8e6aba0143136aed4155 (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: Kiyoshi Aman <adelie@aerdan.vulpine.house>
# Maintainer: Kiyoshi Aman <adelie@aerdan.vulpine.house>
pkgname=otf-source-code-pro
pkgver=2.030
_pkgver=1.050
pkgrel=0
pkgdesc="Monospaced font family for user interfaces and programming"
url="https://adobe-fonts.github.io/source-code-pro/"
arch="noarch"
options="!check" # No tests
license="OFL-1.1"
depends="fontconfig"
makedepends=""
source="https://github.com/adobe-fonts/source-code-pro/archive/${pkgver}R-ro/${_pkgver}R-it.zip"
builddir="$srcdir/source-code-pro-${pkgver}R-ro-${_pkgver}R-it"

package() {
	cd "$builddir"/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="b31d4a33482e7817adbe73919fdeeb0e3c0e4564e6dc1b86e7328ca405c5bb1b36338b665b124848ada2e94917b8ce36ee8cc03dd632648b44d1421486c27d02  1.050R-it.zip"