gnu: sxhkd: Update to 0.5.9.

* gnu/packages/xdisorg.scm (sxhkd): Update to 0.5.9.
[source]: Switch to GIT-FETCH.
[arguments]: Let documentation subdirectory match build system defaults.
This commit is contained in:
Tobias Geerinckx-Rice 2018-06-28 16:49:38 +02:00
parent 34a05e8fb4
commit f8f0b6523a
No known key found for this signature in database
GPG Key ID: 0DB0FF884F556D79
1 changed files with 13 additions and 10 deletions

View File

@ -733,17 +733,16 @@ Guile will work for XBindKeys.")
(define-public sxhkd (define-public sxhkd
(package (package
(name "sxhkd") (name "sxhkd")
(version "0.5.6") (version "0.5.9")
(source (source
(origin (origin
(file-name (string-append name "-" version ".tar.gz")) (method git-fetch)
(method url-fetch) (uri (git-reference
(uri (string-append (url "https://github.com/baskerville/sxhkd")
"https://github.com/baskerville/sxhkd/archive/" (commit version)))
version ".tar.gz"))
(sha256 (sha256
(base32 (base32
"15grmzpxz5fqlbfg2slj7gb7r6nzkvjmflmbkqx7mlby9pm6wdkj")))) "0cw547x7vky55k3ksrmzmrra4zhslqcwq9xw0y4cmbvy4s1qf64v"))))
(build-system gnu-build-system) (build-system gnu-build-system)
(inputs (inputs
`(("asciidoc" ,asciidoc) `(("asciidoc" ,asciidoc)
@ -752,10 +751,14 @@ Guile will work for XBindKeys.")
("xcb-util-keysyms" ,xcb-util-keysyms) ("xcb-util-keysyms" ,xcb-util-keysyms)
("xcb-util-wm" ,xcb-util-wm))) ("xcb-util-wm" ,xcb-util-wm)))
(arguments (arguments
'(#:phases (modify-phases %standard-phases (delete 'configure)) `(#:phases (modify-phases %standard-phases (delete 'configure))
#:tests? #f ; no check target #:tests? #f ; no check target
#:make-flags (list "CC=gcc" #:make-flags
(string-append "PREFIX=" %output)))) (list "CC=gcc"
(string-append "PREFIX=" %output)
;; Keep the documentation where the build system installs LICENSE.
(string-append "DOCPREFIX=" %output
"/share/doc/" ,name "-" ,version))))
(home-page "https://github.com/baskerville/sxhkd") (home-page "https://github.com/baskerville/sxhkd")
(synopsis "Simple X hotkey daemon") (synopsis "Simple X hotkey daemon")
(description "sxhkd is a simple X hotkey daemon with a powerful and (description "sxhkd is a simple X hotkey daemon with a powerful and