gnu: signing-party: Use 'modify-phases'.
* gnu/packages/gnupg.scm (signing-party)[arguments]: Use 'modify-phases'.
This commit is contained in:
parent
a78435223b
commit
6a90a614ec
|
@ -528,11 +528,10 @@ PGP keysigning parties.")
|
|||
(arguments
|
||||
`(#:tests? #f
|
||||
#:phases
|
||||
(alist-cons-after
|
||||
'unpack 'remove-spurious-links
|
||||
(lambda _ (delete-file "keyanalyze/pgpring/depcomp"))
|
||||
(alist-replace
|
||||
'configure
|
||||
(modify-phases %standard-phases
|
||||
(add-after 'unpack 'remove-spurious-links
|
||||
(lambda _ (delete-file "keyanalyze/pgpring/depcomp")))
|
||||
(replace 'configure
|
||||
(lambda* (#:key outputs #:allow-other-keys)
|
||||
(let ((out (assoc-ref outputs "out")))
|
||||
(substitute* "keyanalyze/Makefile"
|
||||
|
@ -542,14 +541,14 @@ PGP keysigning parties.")
|
|||
(substitute* "keyanalyze/pgpring/configure"
|
||||
(("/bin/sh") (which "bash")))
|
||||
(substitute* "gpgwrap/Makefile"
|
||||
(("\\} clean") (string-append "} clean\ninstall:\n\tinstall -D bin/gpgwrap "
|
||||
(("\\} clean")
|
||||
(string-append "} clean\ninstall:\n\tinstall -D bin/gpgwrap "
|
||||
out "/bin/gpgwrap\n")))
|
||||
(substitute* '("gpgsigs/Makefile" "keyanalyze/Makefile"
|
||||
"keylookup/Makefile" "sig2dot/Makefile"
|
||||
"springgraph/Makefile")
|
||||
(("/usr") out))))
|
||||
(alist-replace
|
||||
'install
|
||||
(("/usr") out)))))
|
||||
(replace 'install
|
||||
(lambda* (#:key outputs #:allow-other-keys #:rest args)
|
||||
(let ((out (assoc-ref outputs "out"))
|
||||
(install (assoc-ref %standard-phases 'install)))
|
||||
|
@ -573,8 +572,7 @@ PGP keysigning parties.")
|
|||
'("caff.1" "pgp-clean.1" "pgp-fixkey.1" "gpgdir.1"
|
||||
"gpg-key2ps.1" "gpglist.1" "gpg-mailkeys.1"
|
||||
"gpgparticipants.1" "gpgsigs.1" "gpgwrap.1"
|
||||
"process_keys.1" "pgpring.1" "keyanalyze.1"))))
|
||||
%standard-phases)))))
|
||||
"process_keys.1" "pgpring.1" "keyanalyze.1"))))))))
|
||||
(synopsis "Collection of scripts for simplifying gnupg key signing")
|
||||
(description
|
||||
"Signing-party is a collection for all kinds of PGP/GnuPG related things,
|
||||
|
|
Loading…
Reference in New Issue