summaryrefslogblamecommitdiff
path: root/user/otf-source-serif-pro/APKBUILD
blob: d4c567d1c52ad159f95565475727c87f7a54672e (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11
12


                                                           
            







                                                     
                                                                                                                  
                                           

           
                          
                                                                
                          
                                                                                   


            
                                                                                                                                                                          
# Contributor: Kiyoshi Aman <kiyoshi.aman+adelie@gmail.com>
# Maintainer: Kiyoshi Aman <kiyoshi.aman+adelie@gmail.com>
pkgname=otf-source-serif-pro
pkgver=3.001
pkgrel=0
pkgdesc="Serif font family for typesetting"
url="https://adobe-fonts.github.io/source-serif-pro/"
arch="noarch"
options="!check" # No tests
license="OFL-1.1"
depends="fontconfig"
makedepends=""
source="https://github.com/adobe-fonts/source-serif-pro/releases/download/${pkgver}R/${pkgname#*-}-${pkgver}R.zip"
builddir="$srcdir/${pkgname#*-}-${pkgver}R"

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="5f05b1e5ab99f4b6cfb15921acde5552fade2a84d94f10953f12b52e293c1fe21f1a35153a93216517ee3b410d556eb5cc874b8c1ac8842ecd5627ccfa0abbe6  source-serif-pro-3.001R.zip"