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>
This commit is contained in:
parent
b4ceb81440
commit
9ceb0164c2
1 changed files with 6 additions and 2 deletions
|
@ -814,7 +814,7 @@ OpenType variant of these fonts.")
|
||||||
(define-public font-amiri
|
(define-public font-amiri
|
||||||
(package
|
(package
|
||||||
(name "font-amiri")
|
(name "font-amiri")
|
||||||
(version "0.117")
|
(version "1.000")
|
||||||
(source (origin
|
(source (origin
|
||||||
(method git-fetch)
|
(method git-fetch)
|
||||||
(uri (git-reference
|
(uri (git-reference
|
||||||
|
@ -823,7 +823,7 @@ OpenType variant of these fonts.")
|
||||||
(file-name (git-file-name name version))
|
(file-name (git-file-name name version))
|
||||||
(sha256
|
(sha256
|
||||||
(base32
|
(base32
|
||||||
"1z2hdmny52bapakf96y5xfr29f8ax7q6nj651zrihnnhfdriqfx1"))))
|
"0c4yg1b03aihdqvz6w5ak8wapni3l8p18mw6bkqhblmm75jb5kif"))))
|
||||||
(build-system gnu-build-system)
|
(build-system gnu-build-system)
|
||||||
(arguments
|
(arguments
|
||||||
(list
|
(list
|
||||||
|
@ -832,6 +832,10 @@ OpenType variant of these fonts.")
|
||||||
#:modules `(,@%gnu-build-system-modules
|
#:modules `(,@%gnu-build-system-modules
|
||||||
((guix build font-build-system) #:prefix font:))
|
((guix build font-build-system) #:prefix font:))
|
||||||
#:phases #~(modify-phases %standard-phases
|
#:phases #~(modify-phases %standard-phases
|
||||||
|
(add-after 'unpack 'patch-source
|
||||||
|
(lambda _
|
||||||
|
(substitute* "Makefile"
|
||||||
|
(("^TAG=.*") (string-append "TAG=" #$version "\n")))))
|
||||||
(delete 'configure)
|
(delete 'configure)
|
||||||
(replace 'install
|
(replace 'install
|
||||||
(assoc-ref font:%standard-phases 'install)))))
|
(assoc-ref font:%standard-phases 'install)))))
|
||||||
|
|
Reference in a new issue