summaryrefslogtreecommitdiff
path: root/gnu
diff options
context:
space:
mode:
authorSimon South <simon@simonsouth.net>2020-11-12 11:27:06 -0500
committerLudovic Courtès <ludo@gnu.org>2020-11-18 23:43:57 +0100
commit0305bc91762f9d5e01abd3d55e8dd9d3d1ecbdad (patch)
tree0db4a09610633f97742a45e878bb0660247f9847 /gnu
parent23526b6716c1add9b1c0e18f4d6ac31cc8f9c967 (diff)
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>
Diffstat (limited to 'gnu')
-rw-r--r--gnu/packages/bittorrent.scm10
1 files changed, 7 insertions, 3 deletions
diff --git a/gnu/packages/bittorrent.scm b/gnu/packages/bittorrent.scm
index 54f955a39d..09bff49818 100644
--- a/gnu/packages/bittorrent.scm
+++ b/gnu/packages/bittorrent.scm
@@ -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)