gnu: extractpdfmark: Improve package style.

* gnu/packages/pdf.scm (extractpdfmark)[arguments]: Use G-expressions.  Fix
phase name.
[native-inputs]: Remove labels.
This commit is contained in:
Nicolas Goaziou 2022-10-07 00:51:13 +02:00
parent eea2d5b6f7
commit 8319be779f
No known key found for this signature in database
GPG key ID: DA00B4F048E92F2D

View file

@ -124,18 +124,18 @@ (define-public extractpdfmark
(base32 "0yzc3ajgdfb4ssxp49g2vrki45kl144j39bg0wdn6h9dc14kzmx4"))))
(build-system gnu-build-system)
(arguments
`(#:phases
(modify-phases %standard-phases
(add-before 'check 'start-xorg-server
;; The test suite wants to write to /homeless-shelter
(lambda _ (setenv "HOME" (getcwd)))))))
(list #:phases
#~(modify-phases %standard-phases
(add-before 'check 'set-home
;; The test suite wants to write to /homeless-shelter
(lambda _ (setenv "HOME" (getcwd)))))))
(native-inputs
`(("autoconf" ,autoconf)
("automake" ,automake)
("gettext" ,gettext-minimal)
("ghostscript" ,ghostscript)
("pkg-config" ,pkg-config)
("texlive" ,texlive-tiny)))
(list autoconf
automake
gettext-minimal
ghostscript
pkg-config
texlive-tiny))
(inputs
(list poppler))
(home-page "https://github.com/trueroad/extractpdfmark")