mirror of
https://github.com/ivabus/pantry
synced 2024-11-26 02:15:06 +03:00
31 lines
802 B
YAML
31 lines
802 B
YAML
distributable:
|
|
url: https://www.x.org/archive/individual/lib/libxkbfile-{{version}}.tar.xz
|
|
strip-components: 1
|
|
versions:
|
|
url: https://www.x.org/archive/individual/lib/
|
|
match: /libxkbfile-\d+\.\d+\.\d+\.tar\.xz/
|
|
strip:
|
|
- /^libxkbfile-/
|
|
- /\.tar\.xz/
|
|
dependencies:
|
|
x.org/x11: '*'
|
|
build:
|
|
dependencies:
|
|
freedesktop.org/pkg-config: '*'
|
|
script:
|
|
- ./configure $CONFIGURE_ARGS
|
|
- make --jobs {{ hw.concurrency }}
|
|
- make --jobs {{ hw.concurrency }} install
|
|
env:
|
|
CONFIGURE_ARGS:
|
|
- --disable-debug
|
|
- --disable-dependency-tracking
|
|
- --prefix="{{prefix}}"
|
|
- --libdir="{{prefix}}/lib"
|
|
test:
|
|
dependencies:
|
|
freedesktop.org/pkg-config: '*'
|
|
script:
|
|
- cc test.c -o test
|
|
- ./test
|
|
- pkg-config --modversion xkbfile | grep {{version}}
|