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

                                                         
                            
            



                                                     
                                  


                    
                                                                                                                  
                                           

           
                          
                                                                
                          
                                                                                   


            
                                                                                                                                                                          
# Contributor: Kiyoshi Aman <adelie@aerdan.vulpine.house>
# Maintainer: Kiyoshi Aman <adelie@aerdan.vulpine.house>
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 test suite.
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"