Fixup indentation

This commit is contained in:
Efraim Flashner 2020-12-03 09:10:03 +02:00
parent a21f1ebb71
commit 8ed6cec212
Signed by: efraim
GPG key ID: 41AAE7DCCA3D8351
2 changed files with 12 additions and 9 deletions

View file

@ -31,7 +31,8 @@
(source
(origin
(method url-fetch)
(uri (string-append "https://courses.missouristate.edu/KenVollmar/mars/MARS_"
(uri (string-append "https://courses.missouristate.edu/KenVollmar/"
"mars/MARS_"
(string-replace-substring version "." "_")
"_Aug2014/Mars"
(string-replace-substring version "." "_")

View file

@ -66,10 +66,12 @@
"pbuilder-loadconfig"
"pdebuild"
)
(("/usr/lib/pbuilder") (string-append out "/lib/pbuilder"))
(("/usr/lib/pbuilder")
(string-append out "/lib/pbuilder"))
)
(substitute* "pbuildd/buildd-config.sh"
(("/usr/share/doc/pbuilder") (string-append out "/share/doc/pbuilder"))
(("/usr/share/doc/pbuilder")
(string-append out "/share/doc/pbuilder"))
)
#t)))
(add-after 'install 'wrap-programs
@ -78,13 +80,13 @@
(for-each
(lambda (file)
(wrap-program file
`("PATH" ":" prefix (,(dirname (which "sed"))
,(dirname (which "readlink"))
,(dirname (which "dpkg-architecture"))
))))
`("PATH" ":" prefix (,(dirname (which "sed"))
,(dirname (which "readlink"))
,(dirname (which "dpkg-architecture"))
))))
(cons* (string-append out "/bin/pdebuild")
(string-append out "/sbin/pbuilder")
(find-files (string-append out "/lib/pbuilder") ".")))
(string-append out "/sbin/pbuilder")
(find-files (string-append out "/lib/pbuilder") ".")))
#t)))
)
#:make-flags (list (string-append "DESTDIR=" (assoc-ref %outputs "out")))