Package Details: ttf-defenestration 1-1

Git Clone URL: https://aur.archlinux.org/ttf-defenestration.git (read-only, click to copy)
Package Base: ttf-defenestration
Description: Shim package to satisfy 'ttf-liberation' dependencies via 'ttf-ms-win10'; see README.md for details
Upstream URL: https://gitlab.com/arglebargle-arch/ttf-defenestration-PKGBUILD
Licenses: BSD
Conflicts: ttf-liberation
Provides: ttf-liberation=10.0
Submitter: arglebargle
Maintainer: arglebargle
Last Packager: arglebargle
Votes: 0
Popularity: 0.000000
First Submitted: 2021-08-28 12:05
Last Updated: 2021-08-28 13:13

Dependencies (1)

Required by (58)

Sources (0)

Latest Comments

bbx0 commented on 2021-10-19 20:13

Nice idea! Thanks for making!

Would you consider to depend on ttf-ms-fonts instead of ttf-ms-win10? That brings generic support for all packages providing the MS Core fonts including the new ttf-ms-win11 package. (As the fonts are just a runtime dependency and not required to build this package, it would be nice to move them to the package() section. This will allow building in a clean chroot without downloading any fonts there first.)

I would not provide a specific version ttf-liberation=10.0 since version 10.0 does not exist upstream. It's probably better to fail the installation when another package actually introduces a version requirement for ttf-liberation, so it can be investigated why.

Below are the changes I would do. Works fine so far.

pkgname=ttf-defenestration
pkgver=1
pkgrel=1
pkgdesc="Shim package to satisfy 'ttf-liberation' dependencies via 'ttf-ms-win*'; see README.md for details"
arch=(any)
url="https://gitlab.com/arglebargle-arch/ttf-defenestration-PKGBUILD"
license=('BSD')
depends=()
provides=('ttf-liberation')
conflicts=('ttf-liberation')

package () {
  #Package requires MS Core fonts to be installed, ideally provided via 'ttf-ms-win10' or 'ttf-ms-win11'
  depends=('ttf-ms-fonts')
}