mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2025-01-14 07:00:32 -05:00
gnu: make-lure-package: Fix data and documentation location.
* gnu/packages/games.scm (make-lure-package)[arguments]: Make data and documentation location dependent on localization. [native-inputs]: Move bash... [inputs]: here.
This commit is contained in:
parent
e7db97db63
commit
eca528cca9
1 changed files with 5 additions and 5 deletions
|
@ -7751,7 +7751,7 @@ (define (make-lure-package name language hash)
|
|||
(use-modules (guix build utils))
|
||||
(let* ((out (assoc-ref %outputs "out"))
|
||||
(share (string-append out "/share"))
|
||||
(data (string-append share "/lure/" ,language))
|
||||
(data (string-append share "/" ,name "/" ,language))
|
||||
(apps (string-append share "/applications"))
|
||||
(bin (string-append out "/bin"))
|
||||
(executable (string-append bin "/" ,name))
|
||||
|
@ -7759,7 +7759,7 @@ (define (make-lure-package name language hash)
|
|||
(let ((unzip (string-append (assoc-ref %build-inputs "unzip")
|
||||
"/bin/unzip")))
|
||||
(invoke unzip "-j" (assoc-ref %build-inputs "source")))
|
||||
(let ((doc (string-append share "/doc/lure-" ,version)))
|
||||
(let ((doc (string-append share "/doc/" ,name "-" ,version)))
|
||||
(for-each (lambda (f) (install-file f doc))
|
||||
(find-files "." "\\.(txt|PDF|pdf)$")))
|
||||
(for-each (lambda (f) (install-file f data))
|
||||
|
@ -7794,10 +7794,10 @@ (define (make-lure-package name language hash)
|
|||
executable scummvm)))
|
||||
#t))))
|
||||
(native-inputs
|
||||
`(("bash" ,bash)
|
||||
("unzip" ,unzip)))
|
||||
`(("unzip" ,unzip)))
|
||||
(inputs
|
||||
`(("scummvm" ,scummvm)))
|
||||
`(("bash" ,bash)
|
||||
("scummvm" ,scummvm)))
|
||||
(home-page "https://www.scummvm.org")
|
||||
(synopsis "2D point and click fantasy adventure game")
|
||||
(description
|
||||
|
|
Loading…
Reference in a new issue