archrelease: copy trunk to extra-x86_64
[arch-packages.git] / adobe-source-sans-fonts / repos / extra-any / PKGBUILD
blob66a23b8ce9437c21b9f8af1a5151f520ec557065
1 # Maintainer: Jan Alexander Steffens (heftig) <heftig@archlinux.org>
3 pkgname=adobe-source-sans-fonts
4 pkgver=3.052
5 pkgrel=1
6 pkgdesc="Sans-serif font family for user interface environments"
7 url="https://adobe-fonts.github.io/source-sans/"
8 arch=(any)
9 license=(custom)
10 provides=("adobe-source-sans-pro-fonts=$pkgver")
11 replaces=('adobe-source-sans-pro-fonts<=3.028-1')
12 _relver=${pkgver}R
13 _tarname=source-sans-$_relver
14 _oldver=3.006R
15 _oldname=source-sans-$_oldver
16 source=(
17   "$_tarname.tar.gz::https://github.com/adobe-fonts/source-sans/archive/refs/tags/$_relver.tar.gz"
18   "$_oldname.tar.gz::https://github.com/adobe-fonts/source-sans/archive/refs/tags/$_oldver.tar.gz"
20 b2sums=('7cb3965a4172c467f2fd536b1ea96d65bdb41c8546baa9f318adedca217601762cf506d050afd2e9f4e4fb840282734254cec484ac40178e62d9539308d56ddd'
21         '26c700209ae1bb34bc4328e32e06437e078bd1ddeae771ff0f2ff1247dcca44b7fb39c8f2d1388913cc6c42507b37f71b398aa4c5b2a342aa206cbd044000a30')
23 package() {
24   # "Source Sans Pro"
25   cd $_oldname
26   install -Dt "$pkgdir/usr/share/fonts/${pkgname%-fonts}" -m644 OTF/*.otf VAR/*.otf
27   cd ..
29   # "Source Sans 3"
30   cd $_tarname
31   install -Dt "$pkgdir/usr/share/fonts/${pkgname%-fonts}" -m644 OTF/*.otf VF/*.otf
32   install -Dt "$pkgdir/usr/share/licenses/$pkgname" -m644 LICENSE.md
35 # vim:set sw=2 et: