gnu: inkbox: Fix build.
* gnu/packages/ebook.scm (inkbox)[arguments]: Use G-expression.master
parent
e994412c19
commit
44f087fcc7
|
@ -399,16 +399,17 @@ accessing and converting various ebook file formats.")
|
||||||
(base32 "126cqn0ixcn608lv2hd9f7zmzj4g448bnpxc7wv9cvg83qqajh5n"))))
|
(base32 "126cqn0ixcn608lv2hd9f7zmzj4g448bnpxc7wv9cvg83qqajh5n"))))
|
||||||
(build-system qt-build-system)
|
(build-system qt-build-system)
|
||||||
(arguments
|
(arguments
|
||||||
'(#:tests? #f ; no test suite
|
(list
|
||||||
|
#:tests? #f ; no test suite
|
||||||
#:make-flags
|
#:make-flags
|
||||||
(list (string-append "PREFIX="
|
#~(list (string-append "PREFIX=" #$output))
|
||||||
(assoc-ref %outputs "out")))
|
|
||||||
#:phases
|
#:phases
|
||||||
(modify-phases %standard-phases
|
#~(modify-phases %standard-phases
|
||||||
(add-after 'unpack 'prefix-opt
|
(add-after 'unpack 'prefix-opt
|
||||||
(lambda* (#:key outputs #:allow-other-keys)
|
(lambda _
|
||||||
(substitute* "inkbox.pro"
|
(substitute* "inkbox.pro"
|
||||||
(("/opt/\\$\\$\\{TARGET\\}") (string-append (assoc-ref outputs "out"))))))
|
(("/opt/\\$\\$\\{TARGET\\}")
|
||||||
|
#$output))))
|
||||||
(replace 'configure
|
(replace 'configure
|
||||||
(lambda* (#:key make-flags #:allow-other-keys)
|
(lambda* (#:key make-flags #:allow-other-keys)
|
||||||
(apply invoke (cons "qmake" make-flags)))))))
|
(apply invoke (cons "qmake" make-flags)))))))
|
||||||
|
|
Reference in New Issue