From f050718931c3808ac40ca8ecaaced3e7d7c92a55 Mon Sep 17 00:00:00 2001 From: Andrew <51118083+ArionThinker@users.noreply.github.com> Date: Sun, 7 May 2023 02:19:12 +0300 Subject: [PATCH] freedesktop.org/icon theme (#1861) * new file: projects/freedesktop.org/icon-theme/package.yml * modified: projects/freedesktop.org/icon-theme/package.yml --- .../freedesktop.org/icon-theme/package.yml | 24 +++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 projects/freedesktop.org/icon-theme/package.yml diff --git a/projects/freedesktop.org/icon-theme/package.yml b/projects/freedesktop.org/icon-theme/package.yml new file mode 100644 index 00000000..2286fc1b --- /dev/null +++ b/projects/freedesktop.org/icon-theme/package.yml @@ -0,0 +1,24 @@ +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 \ No newline at end of file