From 4e1dd18a63de8730ab18adcecb52caa2980c732f Mon Sep 17 00:00:00 2001 From: matteodev Date: Tue, 21 May 2024 00:44:13 +0200 Subject: [PATCH 1/3] Added Google Dot Black cursors --- .../themes/google-black-cursor-theme/anda.hcl | 6 ++++ .../google-black-cursor-theme.spec | 36 +++++++++++++++++++ .../google-black-cursor-theme/update.rhai | 1 + 3 files changed, 43 insertions(+) create mode 100644 anda/themes/google-black-cursor-theme/anda.hcl create mode 100644 anda/themes/google-black-cursor-theme/google-black-cursor-theme.spec create mode 100644 anda/themes/google-black-cursor-theme/update.rhai diff --git a/anda/themes/google-black-cursor-theme/anda.hcl b/anda/themes/google-black-cursor-theme/anda.hcl new file mode 100644 index 0000000000..9a2117139d --- /dev/null +++ b/anda/themes/google-black-cursor-theme/anda.hcl @@ -0,0 +1,6 @@ +project pkg { + arches = ["x86_64"] + rpm { + spec = "google-black-cursor-theme.spec" + } +} diff --git a/anda/themes/google-black-cursor-theme/google-black-cursor-theme.spec b/anda/themes/google-black-cursor-theme/google-black-cursor-theme.spec new file mode 100644 index 0000000000..b295bf9866 --- /dev/null +++ b/anda/themes/google-black-cursor-theme/google-black-cursor-theme.spec @@ -0,0 +1,36 @@ +Name: google-black-cursor-theme +Version: 2.0.0 +Release: 1%{?dist} +URL: https://github.com/ful1e5/Google_Cursor +Source0: %{url}/releases/download/v%{version}/GoogleDot-Black.tar.gz +Source1: https://raw.githubusercontent.com/ful1e5/Google_Cursor/v%{version}/README.md +Source2: https://raw.githubusercontent.com/ful1e5/Google_Cursor/v%{version}/LICENSE +License: GPL-3.0 +Summary: An opensource cursor theme inspired by Google. +BuildArch: noarch +BuildRequires: rpm_macro(fdupes) + +%description +An opensource cursor theme inspired by Google. + +%prep +tar xf %{SOURCE0} + +%build + +%install +mkdir -p %{buildroot}/%{_datadir}/icons/ +mv Google* %{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 +%fdupes %buildroot%_datadir/icons/ + +%files +%doc README.md +%license LICENSE +%{_datadir}/icons/Google* + +%changelog +* Tue May 21 2024 matteodev8 - 2.0.0 +- Initial package (mostly copied from bibata-cursor-theme) diff --git a/anda/themes/google-black-cursor-theme/update.rhai b/anda/themes/google-black-cursor-theme/update.rhai new file mode 100644 index 0000000000..59fa4b884f --- /dev/null +++ b/anda/themes/google-black-cursor-theme/update.rhai @@ -0,0 +1 @@ +rpm.version(gh("ful1e5/Google_Cursor")); From e3f949138a21ce62cfc0a0a8e6e0cb2c3d776c0f Mon Sep 17 00:00:00 2001 From: matteodev Date: Tue, 21 May 2024 00:44:27 +0200 Subject: [PATCH 2/3] changed name --- .../google-black-cursor-theme/google-black-cursor-theme.spec | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/anda/themes/google-black-cursor-theme/google-black-cursor-theme.spec b/anda/themes/google-black-cursor-theme/google-black-cursor-theme.spec index b295bf9866..f6308e96b0 100644 --- a/anda/themes/google-black-cursor-theme/google-black-cursor-theme.spec +++ b/anda/themes/google-black-cursor-theme/google-black-cursor-theme.spec @@ -32,5 +32,5 @@ cp %{SOURCE2} %{buildroot}/%{_datadir}/licenses/%{name}/LICENSE %{_datadir}/icons/Google* %changelog -* Tue May 21 2024 matteodev8 - 2.0.0 +* Tue May 21 2024 matteodev - 2.0.0 - Initial package (mostly copied from bibata-cursor-theme) From a1692275e1ee73c4644581dadd8de4c2b9a698ee Mon Sep 17 00:00:00 2001 From: matteodev8 Date: Tue, 21 May 2024 00:45:48 +0200 Subject: [PATCH 3/3] Fixed name (again) --- .../google-black-cursor-theme/google-black-cursor-theme.spec | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/anda/themes/google-black-cursor-theme/google-black-cursor-theme.spec b/anda/themes/google-black-cursor-theme/google-black-cursor-theme.spec index f6308e96b0..b295bf9866 100644 --- a/anda/themes/google-black-cursor-theme/google-black-cursor-theme.spec +++ b/anda/themes/google-black-cursor-theme/google-black-cursor-theme.spec @@ -32,5 +32,5 @@ cp %{SOURCE2} %{buildroot}/%{_datadir}/licenses/%{name}/LICENSE %{_datadir}/icons/Google* %changelog -* Tue May 21 2024 matteodev - 2.0.0 +* Tue May 21 2024 matteodev8 - 2.0.0 - Initial package (mostly copied from bibata-cursor-theme)