gnu: lchat: Update to 0.0.0-3.f951919.
* gnu/packages/suckless.scm (lchat): Update to 0.0.0-3.f951919. [arguments]: Run tests. Install man page.
This commit is contained in:
parent
aa945bf637
commit
82f22fac9f
|
@ -680,8 +680,8 @@ as -1, to be used instead of U+FFFD.
|
||||||
|
|
||||||
;; No release tarballs so far.
|
;; No release tarballs so far.
|
||||||
(define-public lchat
|
(define-public lchat
|
||||||
(let ((revision "2")
|
(let ((revision "3")
|
||||||
(commit "25d90f4630b45e2b609d2e3daecb32cf5ff065fd"))
|
(commit "f95191970fd59c52a8b09cff32bd8d2135cbfc6b"))
|
||||||
(package
|
(package
|
||||||
(name "lchat")
|
(name "lchat")
|
||||||
(version (string-append "0.0.0-" revision "." (string-take commit 7)))
|
(version (string-append "0.0.0-" revision "." (string-take commit 7)))
|
||||||
|
@ -694,24 +694,26 @@ as -1, to be used instead of U+FFFD.
|
||||||
(file-name (string-append name "-" version "-checkout"))
|
(file-name (string-append name "-" version "-checkout"))
|
||||||
(sha256
|
(sha256
|
||||||
(base32
|
(base32
|
||||||
"0dvljyq3m7rxxkqv7rkmijak6vj8i4db3iq2z988bvf76chz268b"))))
|
"07pxzziczhzprmjy61k7nl9i1kxpgnad37qkjf5fn4wf06nqdxpl"))))
|
||||||
(build-system gnu-build-system)
|
(build-system gnu-build-system)
|
||||||
(arguments
|
(arguments
|
||||||
`(#:tests? #f ; No tests
|
`(#:test-target "test"
|
||||||
#:make-flags (list "CC=gcc"
|
#:make-flags (list "CC=gcc"
|
||||||
(string-append "PREFIX=" %output))
|
(string-append "PREFIX=" %output))
|
||||||
#:phases
|
#:phases
|
||||||
(modify-phases %standard-phases
|
(modify-phases %standard-phases
|
||||||
(delete 'configure) ; No configure script
|
(delete 'configure) ; no configure script
|
||||||
(add-before 'build 'libbsd
|
(add-before 'build 'libbsd
|
||||||
(lambda _
|
(lambda _
|
||||||
(substitute* "Makefile"
|
(substitute* "Makefile"
|
||||||
(("-lutf") "-lutf -lbsd"))))
|
(("-lutf") "-lutf -lbsd"))))
|
||||||
(replace 'install
|
(replace 'install
|
||||||
(lambda* (#:key outputs #:allow-other-keys)
|
(lambda* (#:key outputs #:allow-other-keys)
|
||||||
(let* ((out (assoc-ref outputs "out"))
|
(let* ((out (assoc-ref outputs "out"))
|
||||||
(bin (string-append out "/bin")))
|
(bin (string-append out "/bin"))
|
||||||
|
(man1 (string-append out "/share/man/man1")))
|
||||||
(install-file "lchat" bin)
|
(install-file "lchat" bin)
|
||||||
|
(install-file "lchat.1" man1)
|
||||||
#t))))))
|
#t))))))
|
||||||
(inputs
|
(inputs
|
||||||
`(("grep" ,grep)
|
`(("grep" ,grep)
|
||||||
|
|
Loading…
Reference in New Issue