pantry/projects/freedesktop.org/icon-theme/package.yml
Jacob Heider 6c37416e78 fix(icon-theme)
closes #6192
2024-05-20 19:33:48 -04:00

32 lines
752 B
YAML

distributable:
url: https://icon-theme.freedesktop.org/releases/hicolor-icon-theme-{{version.marketing}}.tar.xz
strip-components: 1
versions:
url: https://icon-theme.freedesktop.org/releases/
match: /hicolor-icon-theme-\d+\.\d+\.tar\.xz/
strip:
- /^hicolor-icon-theme-/
- /.tar.xz/
build:
dependencies:
mesonbuild.com: '*'
ninja-build.org: '*'
script:
- run: |
./configure $ARGS
make --jobs {{ hw.concurrency }} install
if: <0.18
- run: |
meson setup build $ARGS
meson compile -C build --verbose
meson install -C build
if: '>=0.18'
env:
ARGS:
- --prefix="{{prefix}}"
test: test -e "{{prefix}}/share/icons/hicolor/index.theme" && exit 0 || exit 1