From 2ffd0fe19e985c9dec9707f20efc5eeb2c40107d Mon Sep 17 00:00:00 2001 From: windowsboy111 Date: Wed, 4 Jan 2023 17:17:45 +0800 Subject: [PATCH] Add bibata-cursor-theme --- anda/themes/bibata-cursor-theme/anda.hcl | 6 +++++ .../bibata-cursor-theme.spec | 22 ++++++++++++++++++- 2 files changed, 27 insertions(+), 1 deletion(-) create mode 100644 anda/themes/bibata-cursor-theme/anda.hcl diff --git a/anda/themes/bibata-cursor-theme/anda.hcl b/anda/themes/bibata-cursor-theme/anda.hcl new file mode 100644 index 0000000000..e038733053 --- /dev/null +++ b/anda/themes/bibata-cursor-theme/anda.hcl @@ -0,0 +1,6 @@ +project "pkg" { + rpm { + spec = "bibata-cursor-theme.spec" + update = "" + } +} diff --git a/anda/themes/bibata-cursor-theme/bibata-cursor-theme.spec b/anda/themes/bibata-cursor-theme/bibata-cursor-theme.spec index 7a803ab554..dffddaa549 100644 --- a/anda/themes/bibata-cursor-theme/bibata-cursor-theme.spec +++ b/anda/themes/bibata-cursor-theme/bibata-cursor-theme.spec @@ -3,6 +3,8 @@ Version: 2.0.3 Release: %autorelease URL: https://github.com/ful1e5/Bibata_Cursor Source0: %{url}/releases/download/v%{version}/Bibata.tar.gz +Source1: https://raw.githubusercontent.com/ful1e5/Bibata_Cursor/v%{version}/README.md +Source2: https://raw.githubusercontent.com/ful1e5/Bibata_Cursor/v%{version}/LICENSE License: GPLv3 Summary: Open source, compact, and material designed cursor set. BuildArch: noarch @@ -15,4 +17,22 @@ on Windows as well, with multiple color and size options. Its goal is to offer personalized cursors to users. %prep -%autosetup -n +tar xf %{SOURCE0} + +%build + +%install +mkdir -p %{buildroot}/%{_datadir}/icons/ +mv Bibata-* %{buildroot}/%{_datadir}/icons/ +mkdir -p %{buildroot}/%{_datadir}/{doc,licenses}/%{name}/ +cp %{SOURCE1} %{buildroot}/%{_datadir}/doc/%{name}/README.md +cp %{SOURCE2} %{buildroot}/%{_datadir}/licenses/%{name}/LICENSE + +%files +%doc README.md +%license LICENSE +%{_datadir}/icons/Bibata-* + +%changelog +* Wed Jan 4 2023 windowsboy111 +- Initial package