mirror of
https://github.com/terrapkg/packages.git
synced 2026-05-31 09:01:55 +00:00
fix(elephant): update providers list (#10700)
This commit is contained in:
@@ -10,7 +10,7 @@
|
||||
%global __requires_exclude %{?__requires_exclude:%{__requires_exclude}|}^golang\\(.*\\)$
|
||||
%endif
|
||||
|
||||
%global providers archlinuxpkgs calc clipboard desktopapplications files menus providerlist runner symbols websearch
|
||||
%global providers 1password archlinuxpkgs bitwarden bluetooth bookmarks calc clipboard desktopapplications dnfpackages files menus niriactions nirisessions providerlist runner snippets symbols todo unicode websearch windows wireplumber
|
||||
|
||||
# https://github.com/abenz1267/elephant
|
||||
%global goipath github.com/abenz1267/elephant
|
||||
@@ -26,8 +26,8 @@ Elephant - cuz it's phat - is a powerful data provider service and backend for b
|
||||
%global godocs README.md
|
||||
|
||||
Name: elephant
|
||||
Release: 1%{?dist}
|
||||
Summary: None
|
||||
Release: 2%{?dist}
|
||||
Summary: Data provider service and backend for building custom application launchers & desktop utilities
|
||||
|
||||
License: GPL-3.0-only
|
||||
URL: %{gourl}
|
||||
|
||||
@@ -1 +1,9 @@
|
||||
rpm.version(gh_rawfile("abenz1267/elephant", "master", "cmd/elephant/version.txt"));
|
||||
let dir = get("https://api.github.com/repos/abenz1267/elephant/contents/internal/providers/").json_arr();
|
||||
let providers = "";
|
||||
for f in dir {
|
||||
if f.size == 0 { // dir
|
||||
providers += f.name + " ";
|
||||
}
|
||||
}
|
||||
rpm.global("providers", providers[0..providers.len - 1]);
|
||||
|
||||
Reference in New Issue
Block a user