OCaml 4.14.0 rebuild
[arch-packages.git] / adobe-source-serif-fonts / trunk / PKGBUILD
blobc9891443fa5487b548374184ec2f160c9522e9e7
1 # Maintainer: Jan Alexander Steffens (heftig) <heftig@archlinux.org>
3 pkgname=adobe-source-serif-fonts
4 pkgver=4.004
5 pkgrel=2
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=('dfb364735699cb830caad534cf7741234804d28e4b6fc5e4736b2401f6131aba'
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 et: