archrelease: copy trunk to extra-x86_64
[arch-packages.git] / adobe-source-serif-fonts / repos / extra-any / PKGBUILD
blob35b3293674d2296289e793396f06cae2002fa3ff
1 # Maintainer: Jan Alexander Steffens (heftig) <heftig@archlinux.org>
3 pkgname=adobe-source-serif-fonts
4 pkgver=4.005
5 pkgrel=1
6 pkgdesc="Serif typeface designed to complement Source Sans"
7 url="https://adobe-fonts.github.io/source-serif/"
8 arch=(any)
9 license=(custom)
10 provides=("adobe-source-serif-pro-fonts=$pkgver")
11 replaces=('adobe-source-serif-pro-fonts<=4.004-1')
12 _relver=${pkgver}R
13 _tarname=source-serif-$_relver
14 _oldver=3.001R
15 _oldname=source-serif-$_oldver
16 source=("$_tarname.tar.gz::https://github.com/adobe-fonts/source-serif/archive/$_relver.tar.gz"
17         "$_oldname.tar.gz::https://github.com/adobe-fonts/source-serif/archive/$_oldver.tar.gz")
18 sha256sums=('92415a067bfa449876cd3f4a4229d18a9140588574299696da81be0e213d69df'
19             '6be29a6ecc275d39f77d608fba576ee1976287f65823bde61309dc907023410c')
21 package() {
22   # "Source Serif Pro"
23   cd $_oldname
24   install -Dt "$pkgdir/usr/share/fonts/${pkgname%-fonts}" -m644 OTF/*.otf VAR/*.otf
25   cd ..
27   # "Source Serif 4"
28   cd $_tarname
29   install -Dt "$pkgdir/usr/share/fonts/${pkgname%-fonts}" -m644 OTF/*.otf VAR/*.otf
30   install -Dt "$pkgdir/usr/share/licenses/$pkgname" -m644 LICENSE.md
33 # vim:set sw=2 sts=-1 et: