gnu: transmission: Move remaining GUI-related files to "gui" output.
* gnu/packages/bittorrent.scm (transmission)[arguments]<phases>: Expand "move-gui" phase to move remaining GUI-related files (AppData file, localization files, man page) to "gui" output. Signed-off-by: Ludovic Courtès <ludo@gnu.org>master
parent
23526b6716
commit
0305bc9176
|
@ -93,14 +93,18 @@
|
|||
(rename-file (string-append out "/bin/transmission-gtk")
|
||||
(string-append gui "/bin/transmission-gtk"))
|
||||
|
||||
;; Move the '.desktop' and icon files as well.
|
||||
(mkdir (string-append gui "/share"))
|
||||
(for-each
|
||||
(lambda (dir)
|
||||
(rename-file (string-append out "/share/" dir)
|
||||
(string-append gui "/share/" dir)))
|
||||
'("applications" "icons" "pixmaps")))
|
||||
#t)))))
|
||||
'("appdata" "applications" "icons" "locale" "pixmaps"))
|
||||
|
||||
(mkdir-p (string-append gui "/share/man/man1"))
|
||||
(rename-file
|
||||
(string-append out "/share/man/man1/transmission-gtk.1")
|
||||
(string-append gui "/share/man/man1/transmission-gtk.1"))
|
||||
#t))))))
|
||||
(inputs
|
||||
`(("libevent" ,libevent)
|
||||
("curl" ,curl)
|
||||
|
|
Reference in New Issue