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

                                                           


                        

                                           
                                                 
             
                                  


                    



                                                                                                                 

           
                          
                                                                
                          
                                                                                   


            
                                                                                                                                                                             
# Contributor: Síle Ekaterin Liszka <sheila@vulpine.house>
# Maintainer: Síle Ekaterin Liszka <sheila@vulpine.house>
pkgname=otf-source-serif
_pkgreal=${pkgname#*-}
pkgver=4.005
pkgrel=0
pkgdesc="Serif font family for typesetting"
url="https://adobe-fonts.github.io/source-serif/"
arch="noarch"
options="!check"  # No test suite.
license="OFL-1.1"
depends="fontconfig"
makedepends=""
replaces="otf-source-serif-pro"
provides="otf-source-serif-pro"
source="https://github.com/adobe-fonts/source-serif/releases/download/${pkgver}R/$_pkgreal-${pkgver}_Desktop.zip"
builddir="$srcdir/$_pkgreal-${pkgver}_Desktop"

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="850a0b76b95d53b0256cd40d476252cd7b63a975425322ba3efa1ace67b2e834470c2e56d8fad5ebce60385d90123db66e69f9fe967b8671591d1b52617f0ec5  source-serif-4.005_Desktop.zip"