mirror of
https://github.com/terrapkg/packages.git
synced 2026-05-31 09:01:55 +00:00
* add: tela-icon-theme
* fix: trigger update on new commits
the release schedule of other themes from the same author seems spotty
* fix: tela-icon-theme date
* update tela-icon-theme license
Co-authored-by: madomado <madonuko@outlook.com>
Signed-off-by: Alberto García <4411661+GarciaLnk@users.noreply.github.com>
---------
Signed-off-by: Alberto García <4411661+GarciaLnk@users.noreply.github.com>
Co-authored-by: madomado <madonuko@outlook.com>
(cherry picked from commit 4f124129c5)
Co-authored-by: Alberto García <4411661+GarciaLnk@users.noreply.github.com>
This commit is contained in:
@@ -0,0 +1,6 @@
|
||||
project "pkg" {
|
||||
arches = ["x86_64"]
|
||||
rpm {
|
||||
spec = "tela-icon-theme.spec"
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,38 @@
|
||||
%global commit ba6354539f1b7802a15da662b35a3be287befb4d
|
||||
%global commit_date 20250110
|
||||
%global shortcommit %(c=%{commit}; echo ${c:0:7})
|
||||
|
||||
Name: tela-icon-theme
|
||||
Version: %commit_date.%shortcommit
|
||||
Release: 1%?dist
|
||||
Summary: Tela icon theme for linux desktops
|
||||
|
||||
License: GPL-3.0-only
|
||||
URL: https://github.com/vinceliuice/Tela-icon-theme/
|
||||
Source0: %url/archive/%commit/Tela-icon-theme-%commit.tar.gz
|
||||
|
||||
BuildArch: noarch
|
||||
BuildRequires: gtk-update-icon-cache fdupes
|
||||
|
||||
%description
|
||||
Tela icon theme for linux desktops.
|
||||
|
||||
%prep
|
||||
%autosetup -n Tela-icon-theme-%{commit}
|
||||
|
||||
%build
|
||||
|
||||
%install
|
||||
mkdir -p %{buildroot}%{_datadir}/themes
|
||||
./install.sh -c -d %{buildroot}%{_datadir}/icons
|
||||
|
||||
%fdupes %buildroot%_datadir/icons/
|
||||
|
||||
%files
|
||||
%license COPYING
|
||||
%doc README.md
|
||||
|
||||
%{_datadir}/icons/Tela*/
|
||||
|
||||
%changelog
|
||||
%autochangelog
|
||||
@@ -0,0 +1,5 @@
|
||||
rpm.global("commit", gh_commit("vinceliuice/Tela-icon-theme"));
|
||||
if rpm.changed() {
|
||||
rpm.release();
|
||||
rpm.global("commit_date", date());
|
||||
}
|
||||
Reference in New Issue
Block a user