gnu: st: Install terminfo files.
* gnu/packages/suckless.scm (st)[native-inputs]: Add ncurses. [make-flags](TERMINFO): New flag. [phases](inhibit-terminfo-install): Remove phase. Signed-off-by: Raghav Gururajan <rg@raghavgururajan.name>
This commit is contained in:
parent
170cb4c881
commit
19528e39bb
1 changed files with 6 additions and 7 deletions
|
@ -378,22 +378,21 @@ numbers of user-defined menu items efficiently.")
|
||||||
`(#:tests? #f ; no tests
|
`(#:tests? #f ; no tests
|
||||||
#:make-flags
|
#:make-flags
|
||||||
(list (string-append "CC=" ,(cc-for-target))
|
(list (string-append "CC=" ,(cc-for-target))
|
||||||
|
(string-append "TERMINFO="
|
||||||
|
(assoc-ref %outputs "out")
|
||||||
|
"/share/terminfo")
|
||||||
(string-append "PREFIX=" %output))
|
(string-append "PREFIX=" %output))
|
||||||
#:phases
|
#:phases
|
||||||
(modify-phases %standard-phases
|
(modify-phases %standard-phases
|
||||||
(delete 'configure)
|
(delete 'configure))))
|
||||||
(add-after 'unpack 'inhibit-terminfo-install
|
|
||||||
(lambda _
|
|
||||||
(substitute* "Makefile"
|
|
||||||
(("\ttic .*") ""))
|
|
||||||
#t)))))
|
|
||||||
(inputs
|
(inputs
|
||||||
`(("libx11" ,libx11)
|
`(("libx11" ,libx11)
|
||||||
("libxft" ,libxft)
|
("libxft" ,libxft)
|
||||||
("fontconfig" ,fontconfig)
|
("fontconfig" ,fontconfig)
|
||||||
("freetype" ,freetype)))
|
("freetype" ,freetype)))
|
||||||
(native-inputs
|
(native-inputs
|
||||||
`(("pkg-config" ,pkg-config)))
|
`(("ncurses" ,ncurses) ;provides tic program
|
||||||
|
("pkg-config" ,pkg-config)))
|
||||||
(home-page "https://st.suckless.org/")
|
(home-page "https://st.suckless.org/")
|
||||||
(synopsis "Simple terminal emulator")
|
(synopsis "Simple terminal emulator")
|
||||||
(description
|
(description
|
||||||
|
|
Reference in a new issue