Package Details: ebgaramond-otf 1.0-1

Git Clone URL: (read-only, click to copy)
Package Base: ebgaramond-otf
Description: font (OTF version) by Octavio Pardo & Georg Duffner
Upstream URL:
Licenses: OFL
Submitter: kromsam
Maintainer: kromsam (Ordoviz)
Last Packager: Ordoviz
Votes: 3
Popularity: 0.138517
First Submitted: 2020-01-18 20:15
Last Updated: 2020-07-19 10:30

Latest Comments

kromsam commented on 2020-07-18 11:16

Thanks @Ordoviz for the contribution. I don´t have the time to look at it right now, so I made you co-maintainer. Do you need more access than that to push?

caleb commented on 2020-07-15 12:39

In addition to the changes @Ordoviz sent in via patch just now, the source array also needs to be changed to use a fixed SHA commit instead of 'master'. This will also change the directory you need to CD into, but it will stop the package from breaking every time a new commit is pushed upstream. That or this package should be renamed -git because as it stands this is a VCS package, not a fixed ver

Ordoviz commented on 2020-07-14 11:42

Thanks for packaging! Can you apply this patch? The description should contain the word “font” for easier searching and should not be self-referencing. OFL is treated as a common license “for the sake of the license array”. The dependencies and install functions are not needed anymore. I also simplified the installation.

Do not forget to makepkg --printsrcinfo > .SRCINFO.

diff --git a/PKGBUILD b/PKGBUILD
index 9fe0e52..2bd4015 100644
@@ -4,35 +4,15 @@ pkgname=ebgaramond-otf
-pkgdesc='EB Garamond (OTF version) by Octavio Pardo & Georg Duffner'
+pkgdesc='font (OTF version) by Octavio Pardo & Georg Duffner'
-depends=('fontconfig' 'xorg-font-utils')

 package() {
   cd "$_pkgname-master"
   install -Dm644 OFL.txt "$pkgdir/usr/share/licenses/$pkgname/OFL.txt"
-  cd "fonts/otf"
-  install -d "$pkgdir/usr/share/fonts/$_pkgname-otf"
-  install -m644 *.otf "$pkgdir/usr/share/fonts/$_pkgname-otf/"
-post_install() {
-  echo -n "Updating font cache... "
-  fc-cache -s
-  mkfontscale "/usr/share/fonts/$_pkgname-otf"
-  mkfontdir "/usr/share/fonts/$_pkgname-otf"
-  echo "done."
-post_upgrade() {
-  post_install $1
-post_remove() {
-  post_install $1
+  install -Dm644 fonts/otf/*.otf -t "$pkgdir/usr/share/fonts/$_pkgname-otf/"