fish-shell/fish.pc.in
Simon Ser d9d3557fcf Use pkg-config variables
This allows all variables to be set properly when the prefix or datadir changes.

The generated .pc file looks like this:

    prefix=/usr/local
    datadir=${prefix}/share
    completionsdir=${datadir}/fish/vendor_completions.d
    functionsdir=${datadir}/fish/vendor_functions.d
    confdir=${datadir}/fish/vendor_conf.d

    Name: fish
    Description: fish, the friendly interactive shell
    URL: https://fishshell.com/
    Version: 3.1.0-402-g75ae172ba228-dirty

Closes: https://bugs.archlinux.org/task/65904
2020-04-04 13:07:54 +02:00

10 lines
291 B
PkgConfig

prefix=@prefix@
datadir=${prefix}/@rel_datadir@
completionsdir=${datadir}/@rel_completionsdir@
functionsdir=${datadir}/@rel_functionsdir@
confdir=${datadir}/@rel_confdir@
Name: fish
Description: fish, the friendly interactive shell
URL: https://fishshell.com/
Version: @fish_build_version@