db-move: moved webkit2gtk from [testing] to [extra] (x86_64)
[arch-packages.git] / adobe-source-serif-pro-fonts / trunk / PKGBUILD
blob1ded1bd939de8c9502b25a054ba5e21965bc9d8e
1 # Maintainer: Jan Alexander Steffens (heftig) <heftig@archlinux.org>
3 pkgname=adobe-source-serif-pro-fonts
4 pkgver=4.004
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 _relver=${pkgver}R
11 _tarname=source-serif-$_relver
12 _oldver=3.001R
13 _oldname=source-serif-$_oldver
14 source=("$_tarname.tar.gz::https://github.com/adobe-fonts/source-serif/archive/$_relver.tar.gz"
15         "$_oldname.tar.gz::https://github.com/adobe-fonts/source-serif/archive/$_oldver.tar.gz")
16 sha256sums=('dfb364735699cb830caad534cf7741234804d28e4b6fc5e4736b2401f6131aba'
17             '6be29a6ecc275d39f77d608fba576ee1976287f65823bde61309dc907023410c')
19 package() {
20   # "Source Serif Pro"
21   cd $_oldname
22   install -Dt "$pkgdir/usr/share/fonts/${pkgname%-fonts}" -m644 OTF/*.otf VAR/*.otf
23   cd ..
25   # "Source Serif 4"
26   cd $_tarname
27   install -Dt "$pkgdir/usr/share/fonts/${pkgname%-fonts}" -m644 OTF/*.otf VAR/*.otf
28   install -Dt "$pkgdir/usr/share/licenses/$pkgname" -m644 LICENSE.md
31 # vim:set ts=2 sw=2 et: