db-move: moved webkitgtk-6.0 from [testing] to [extra] (x86_64)
[arch-packages.git] / adobe-source-code-pro-fonts / trunk / PKGBUILD
blob435339d78d1e7f183df923a021addec81a031e32
1 # Maintainer: Jan Alexander Steffens (heftig) <heftig@archlinux.org>
3 pkgname=adobe-source-code-pro-fonts
4 pkgver=2.042u+1.062i+1.026vf
5 pkgrel=1
6 pkgdesc="Monospaced font family for user interface and coding environments"
7 url="https://adobe-fonts.github.io/source-code-pro/"
8 arch=(any)
9 license=(custom)
10 _relver=2.042R-u/1.062R-i/1.026R-vf
11 _tarname=source-code-pro-${_relver//\//-}
12 source=(
13   "$_tarname.tar.gz::https://github.com/adobe-fonts/source-code-pro/archive/refs/tags/$_relver.tar.gz"
15 b2sums=('16d5097bb8adbdbf0c0c61f708ea460e7608ebde7921fed464a2b71ed159416d9920bcbd72ad63d47a89460426a5c5af0c5a19ebac00ee7a1db0d61ae77a9823')
17 pkgver() {
18   <<<"$_relver" sed 's/R-//g;s|/|+|g'
21 package() {
22   cd $_tarname
23   install -Dt "$pkgdir/usr/share/fonts/${pkgname%-fonts}" -m644 OTF/*.otf VF/*.otf
24   install -Dt "$pkgdir/usr/share/licenses/$pkgname" -m644 LICENSE.md
27 # vim:set sw=2 sts=-1 et: