pantry/projects/freedesktop.org/icon-theme/package.yml
Andrew f050718931
freedesktop.org/icon theme (#1861)
* new file:   projects/freedesktop.org/icon-theme/package.yml

* modified:   projects/freedesktop.org/icon-theme/package.yml
2023-05-06 19:19:12 -04:00

24 lines
580 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:
tea.xyz/gx/cc: c99
tea.xyz/gx/make: '*'
script: |
./configure $ARGS
make --jobs {{ hw.concurrency }} install
env:
ARGS:
- --prefix="{{prefix}}"
test:
test -e "{{prefix}}/share/icons/hicolor/index.theme" && exit 0 || exit 1