archrelease: copy trunk to extra-x86_64
[arch-packages.git] / adobe-source-serif-fonts / trunk / PKGBUILD
blob978ec4157b02817df64de869998fd871974507ad
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=(
17   "$_tarname.tar.gz::https://github.com/adobe-fonts/source-serif/archive/refs/tags/$_relver.tar.gz"
18   "$_oldname.tar.gz::https://github.com/adobe-fonts/source-serif/archive/refs/tags/$_oldver.tar.gz"
20 b2sums=('7dec81fd559a0bf620b2351dc26f2a481825a77148019797b5726699cc3e5977194278e8ef5cc6acd2dea8e30f8b19afa12dd301abbbf75bb192a9e7bfbde51d'
21         'f6d7c5f9a521165bb4557fea36cf53cf535697f7114186c68f5702ccbcb7edb228b3d43bb80a7e4cfe7ea9c55a8194eec31fd33be5d88039264ec5955127191d')
23 package() {
24   # "Source Serif Pro"
25   cd $_oldname
26   install -Dt "$pkgdir/usr/share/fonts/${pkgname%-fonts}" -m644 OTF/*.otf VAR/*.otf
27   cd ..
29   # "Source Serif 4"
30   cd $_tarname
31   install -Dt "$pkgdir/usr/share/fonts/${pkgname%-fonts}" -m644 OTF/*.otf VAR/*.otf
32   install -Dt "$pkgdir/usr/share/licenses/$pkgname" -m644 LICENSE.md
35 # vim:set sw=2 sts=-1 et: