gnu: bombadillo: Improve package style.

* gnu/packages/web-browsers.scm (bombadillo)[arguments]: Use G-expressions.
Remove trailing #T from phases.
This commit is contained in:
Nicolas Goaziou 2022-03-09 15:34:23 +01:00
parent 9133700326
commit 723ec40936
No known key found for this signature in database
GPG key ID: DA00B4F048E92F2D

View file

@ -785,15 +785,16 @@ (define-public bombadillo
(file-name (git-file-name name version)))) (file-name (git-file-name name version))))
(build-system go-build-system) (build-system go-build-system)
(arguments (arguments
`(#:import-path "tildegit.org/sloum/bombadillo" (list
#:import-path "tildegit.org/sloum/bombadillo"
#:install-source? #f #:install-source? #f
#:phases (modify-phases %standard-phases #:phases
#~(modify-phases %standard-phases
(add-after 'install 'install-data (add-after 'install 'install-data
(lambda* (#:key outputs #:allow-other-keys) (lambda _
(let* ((builddir "src/tildegit.org/sloum/bombadillo") (let* ((builddir "src/tildegit.org/sloum/bombadillo")
(out (assoc-ref outputs "out")) (pkg (strip-store-file-name #$output))
(pkg (strip-store-file-name out)) (sharedir (string-append #$output "/share"))
(sharedir (string-append out "/share"))
(appdir (string-append sharedir "/applications")) (appdir (string-append sharedir "/applications"))
(docdir (string-append sharedir "/doc/" pkg)) (docdir (string-append sharedir "/doc/" pkg))
(mandir (string-append sharedir "/man/man1")) (mandir (string-append sharedir "/man/man1"))
@ -801,8 +802,7 @@ (define-public bombadillo
(with-directory-excursion builddir (with-directory-excursion builddir
(install-file "bombadillo.desktop" appdir) (install-file "bombadillo.desktop" appdir)
(install-file "bombadillo.1" mandir) (install-file "bombadillo.1" mandir)
(install-file "bombadillo-icon.png" pixdir) (install-file "bombadillo-icon.png" pixdir))))))))
#t)))))))
(home-page "https://bombadillo.colorfield.space") (home-page "https://bombadillo.colorfield.space")
(synopsis "Terminal browser for the gopher, gemini, and finger protocols") (synopsis "Terminal browser for the gopher, gemini, and finger protocols")
(description "Bombadillo is a non-web browser for the terminal with (description "Bombadillo is a non-web browser for the terminal with