mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-11-07 07:26:13 -05:00
gnu: pantheon-terminal: Use gexp modern style.
* gnu/packages/pantheon.scm (pantheon-terminal) [arguments]: Use gexp modern style. Change-Id: I74d12ec09d8385f2093af91909963c934f9ca968
This commit is contained in:
parent
4a1114de78
commit
c62b729b3e
1 changed files with 15 additions and 14 deletions
|
@ -213,20 +213,21 @@ (define-public pantheon-terminal
|
|||
"0x3gzghnfx4a1q2zhra4dysc0pm1zvlfdxj96qhfb627pz16iv4k"))))
|
||||
(build-system meson-build-system)
|
||||
(arguments
|
||||
`(#:tests? #f ; Tests invole launching the terminal.
|
||||
#:glib-or-gtk? #t
|
||||
#:phases (modify-phases %standard-phases
|
||||
(add-before 'install 'set-environment-variables
|
||||
(lambda _
|
||||
;; Disable compiling schemas and updating desktop databases
|
||||
(setenv "DESTDIR" "/")))
|
||||
(add-after 'install 'install-symlinks
|
||||
(lambda* (#:key outputs #:allow-other-keys)
|
||||
(let* ((out (assoc-ref outputs "out"))
|
||||
(bin (string-append out
|
||||
"/bin/io.elementary.terminal"))
|
||||
(link (string-append out "/bin/pantheon-terminal")))
|
||||
(symlink bin link)))))))
|
||||
(list
|
||||
#:tests? #f ; Tests invole launching the terminal.
|
||||
#:glib-or-gtk? #t
|
||||
#:phases
|
||||
#~(modify-phases %standard-phases
|
||||
(add-before 'install 'set-environment-variables
|
||||
(lambda _
|
||||
;; Disable compiling schemas and updating desktop databases
|
||||
(setenv "DESTDIR" "/")))
|
||||
(add-after 'install 'install-symlinks
|
||||
(lambda* (#:key outputs #:allow-other-keys)
|
||||
(let* ((bin (string-append #$output
|
||||
"/bin/io.elementary.terminal"))
|
||||
(link (string-append #$output "/bin/pantheon-terminal")))
|
||||
(symlink bin link)))))))
|
||||
(native-inputs (list appstream
|
||||
desktop-file-utils ;required for tests
|
||||
gettext-minimal ;for msgfmt
|
||||
|
|
Loading…
Reference in a new issue