mirror of
https://github.com/ivabus/pantry
synced 2024-11-22 08:25:07 +03:00
+xdg-user-dirs
(note per typical freedesktop style: not particularly useful)
This commit is contained in:
parent
7f3a120ef7
commit
8b5a41aeb4
1 changed files with 28 additions and 0 deletions
28
projects/freedesktop.org/xdg-user-dirs/package.yml
Normal file
28
projects/freedesktop.org/xdg-user-dirs/package.yml
Normal file
|
@ -0,0 +1,28 @@
|
|||
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
|
||||
# ^^ doesn’t build and docs don’t 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
|
Loading…
Reference in a new issue