Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[f40] add: google-black-cursor-theme (#1274) #1431

Merged
merged 1 commit into from
Jul 6, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions anda/themes/google-black-cursor-theme/anda.hcl
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
project pkg {
arches = ["x86_64"]
rpm {
spec = "google-black-cursor-theme.spec"
}
}
Original file line number Diff line number Diff line change
@@ -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 <[email protected]> - 2.0.0
- Initial package (mostly copied from bibata-cursor-theme)
1 change: 1 addition & 0 deletions anda/themes/google-black-cursor-theme/update.rhai
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
rpm.version(gh("ful1e5/Google_Cursor"));
Loading