me
/
guix
Archived
1
0
Fork 0

gnu: font-amiri: Update to 1.000.

Fix for the broken build on master.

* gnu/packages/fonts.scm (font-amiri): Update to 1.000.
[arguments](%standard-phases): Add 'patch-source' to hard-code version.

Signed-off-by: Nicolas Goaziou <mail@nicolasgoaziou.fr>
master
Greg Hogan 2023-04-17 18:03:30 +00:00 committed by Nicolas Goaziou
parent b4ceb81440
commit 9ceb0164c2
No known key found for this signature in database
GPG Key ID: DA00B4F048E92F2D
1 changed files with 6 additions and 2 deletions

View File

@ -814,7 +814,7 @@ OpenType variant of these fonts.")
(define-public font-amiri
(package
(name "font-amiri")
(version "0.117")
(version "1.000")
(source (origin
(method git-fetch)
(uri (git-reference
@ -823,7 +823,7 @@ OpenType variant of these fonts.")
(file-name (git-file-name name version))
(sha256
(base32
"1z2hdmny52bapakf96y5xfr29f8ax7q6nj651zrihnnhfdriqfx1"))))
"0c4yg1b03aihdqvz6w5ak8wapni3l8p18mw6bkqhblmm75jb5kif"))))
(build-system gnu-build-system)
(arguments
(list
@ -832,6 +832,10 @@ OpenType variant of these fonts.")
#:modules `(,@%gnu-build-system-modules
((guix build font-build-system) #:prefix font:))
#:phases #~(modify-phases %standard-phases
(add-after 'unpack 'patch-source
(lambda _
(substitute* "Makefile"
(("^TAG=.*") (string-append "TAG=" #$version "\n")))))
(delete 'configure)
(replace 'install
(assoc-ref font:%standard-phases 'install)))))