summaryrefslogtreecommitdiff
path: root/user/otf-source-serif-pro/APKBUILD
blob: 02cd95658ad119f6ce410e86ca7d8d4ea38e6e85 (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-serif-pro
pkgver=4.004
pkgrel=0
pkgdesc="Serif font family for typesetting"
url="https://adobe-fonts.github.io/source-serif-pro/"
arch="noarch"
options="!check"  # No test suite.
license="OFL-1.1"
depends="fontconfig"
makedepends=""
source="https://github.com/adobe-fonts/source-serif-pro/releases/download/${pkgver}R/source-serif-${pkgver}.zip"
builddir="$srcdir/source-serif-$pkgver"

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="3af0451c02a11cac3ea3b123c766cddaa99aa52ba81acca7436930237b5c5e13b0b5c384883499ad508bb4510ab55b81ceebb72d546a2c9cfb695feb6c7d774d  source-serif-4.004.zip"