pantry/projects/freedesktop.org/xdg-user-dirs/package.yml
Max Howell 8b5a41aeb4 +xdg-user-dirs
(note per typical freedesktop style: not particularly useful)
2024-02-15 09:55:50 -05:00

29 lines
658 B
YAML
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

distributable:
url: http://user-dirs.freedesktop.org/releases/xdg-user-dirs-{{version.tag}}.tar.gz
strip-components: 1
provides:
- bin/xdg-user-dir
- bin/xdg-user-dirs-update
versions:
gitlab: gitlab.freedesktop.org:xdg/xdg-user-dirs/tags
dependencies:
gnu.org/gettext: ^0.21
gnu.org/libiconv: ^1.1
build:
script:
- ./configure
--prefix="{{ prefix }}"
--disable-documentation
# ^^ doesnt build and docs dont say what deps this needs to build
- make --jobs {{ hw.concurrency }} install
env:
# without this fails to add the transitive dependency
LDFLAGS: -liconv
test:
xdg-user-dir --help