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