lfam pushed a commit to branch master
in repository guix.
commit 5609d7dab9b606247b65bd303ffdaa2b24d58f82
Author: Timotej Lazar <[email protected]>
AuthorDate: Fri Feb 24 17:35:04 2023 +0100
gnu: qpdfview: Use new package style.
* gnu/packages/pdf.scm (qpdfview)[arguments]: Use gexps.
Signed-off-by: Leo Famulari <[email protected]>
---
gnu/packages/pdf.scm | 16 ++++++++--------
1 file changed, 8 insertions(+), 8 deletions(-)
diff --git a/gnu/packages/pdf.scm b/gnu/packages/pdf.scm
index 9926739973..6eee460740 100644
--- a/gnu/packages/pdf.scm
+++ b/gnu/packages/pdf.scm
@@ -908,14 +908,14 @@ program capable of converting PDF into other formats.")
qtbase-5
qtsvg-5))
(arguments
- `(#:tests? #f ; no tests
- #:phases
- (modify-phases %standard-phases
- (replace 'configure
- (lambda* (#:key outputs #:allow-other-keys)
- (substitute* "qpdfview.pri"
- (("/usr") (assoc-ref outputs "out")))
- (invoke "qmake" "qpdfview.pro"))))))
+ (list #:tests? #f ; no tests
+ #:phases
+ #~(modify-phases %standard-phases
+ (replace 'configure
+ (lambda _
+ (substitute* "qpdfview.pri"
+ (("/usr") #$output))
+ (invoke "qmake" "qpdfview.pro"))))))
(home-page "https://launchpad.net/qpdfview")
(synopsis "Tabbed document viewer")
(description "@command{qpdfview} is a document viewer for PDF, PS and DJVU