Package Details: ttf-astra-sans 1001-1

Git Clone URL: https://aur.archlinux.org/ttf-astra-sans.git (read-only, click to copy)
Package Base: ttf-astra-sans
Description: Free russian sans-serif fonts by Astra
Upstream URL: None
Licenses: OFL
Submitter: robus
Maintainer: robus
Last Packager: robus
Votes: 10
Popularity: 0.014011
First Submitted: 2016-09-28 14:58
Last Updated: 2018-07-21 11:02

Latest Comments

jenrus commented on 2020-05-04 10:46

If you wonder why this package does not work, here is my PKGBUILD:

# WARNING: ttf-astra-serif version is hardcoded to 1002!
pkgname=('ttf-astra-sans' 'ttf-astra-serif')
pkgver=1001
pkgrel=2
pkgdesc="Free russian sans-serif fonts by Astra"
arch=(any)
depends=(fontconfig xorg-font-utils)
source=("https://astralinux.ru/information/fonts-astra/font-ptastrasans-ttf-ver${pkgver}.zip"
"https://astralinux.ru/information/fonts-astra/font-ptastra-serif-ver1002.zip")
md5sums=('fee7111f1d8f75ce9ac461f355ee51e5'
'80e986eef6e10bb0a12c16ddf84ed45b')
license=('OFL')
install=$pkgname.install

package_ttf-astra-sans() {
  install -Dm644 $srcdir/PTAstraSans_TTF_ver${pkgver}/PTAstraSans-Bold.ttf "$pkgdir"/usr/share/fonts/TTF/AstraSans-Bold.ttf
  install -Dm644 $srcdir/PTAstraSans_TTF_ver${pkgver}/PTAstraSans-BoldItalic.ttf "$pkgdir"/usr/share/fonts/TTF/AstraSans-BoldItalic.ttf
  install -Dm644 $srcdir/PTAstraSans_TTF_ver${pkgver}/PTAstraSans-Italic.ttf "$pkgdir"/usr/share/fonts/TTF/AstraSans-Italic.ttf
  install -Dm644 $srcdir/PTAstraSans_TTF_ver${pkgver}/PTAstraSans-Regular.ttf "$pkgdir"/usr/share/fonts/TTF/AstraSans-Regular.ttf
}

package_ttf-astra-serif() {
  install -Dm644 $srcdir/PTAstraSerif-Bold.ttf "$pkgdir"/usr/share/fonts/TTF/AstraSerif-Bold.ttf
  install -Dm644 $srcdir/PTAstraSerif-BoldItalic.ttf "$pkgdir"/usr/share/fonts/TTF/AstraSerif-BoldItalic.ttf
  install -Dm644 $srcdir/PTAstraSerif-Italic.ttf "$pkgdir"/usr/share/fonts/TTF/AstraSerif-Italic.ttf
  install -Dm644 $srcdir/PTAstraSerif-Regular.ttf "$pkgdir"/usr/share/fonts/TTF/AstraSerif-Regular.ttf
}

programmador commented on 2020-04-12 14:49

For ttf-astra-serif I made the same as for ttf-astra-sans - pushed to a temporary external repo: https://bitbucket.org/programmador/ttf-astra-serif

programmador commented on 2020-04-12 13:53

Temporary pushed new version here https://bitbucket.org/programmador/ttf-astra-sans

programmador commented on 2020-04-12 11:11

The source has changed. First of all it contains only Sans though 'Sans&Serif' is still present in the file name.

Actually I've fixed everything. BTW Sans and Serif cannot be built with same PKGBUILD anymore because they have different source locations and "$source" cannot be set inside of a package() function.

How can I contribute actually, where to send an updated version?

aperez commented on 2019-08-13 08:10

The package() function fails with the following:

==> Starting package_ttf-astra-sans()...
install: cannot stat '/home/aperez/.cache/yay/ttf-astra-sans/src/PTAstraSans-Bold.ttf': No such file or directory