Репозиторий Sisyphus
Последнее обновление: 1 октября 2023 | Пакетов: 18631 | Посещений: 37517213
en ru br
Репозитории ALT

Группа :: Система/Настройка/Прочее
Пакет: installer-feature-set-gtk-theme

 Главная   Изменения   Спек   Патчи   Исходники   Загрузить   Gear   Bugs and FR  Repocop 

pax_global_header00006660000000000000000000000064122764112160014514gustar00rootroot0000000000000052 comment=462b67cf09d8ac297c94f7e0fe8b2f0af11fb043
installer-feature-set-gtk-theme-1.2/000075500000000000000000000000001227641121600174565ustar00rootroot00000000000000installer-feature-set-gtk-theme-1.2/.gear-rules000064400000000000000000000000071227641121600215220ustar00rootroot00000000000000tar: .
installer-feature-set-gtk-theme-1.2/10-set-gtk-theme.sh000064400000000000000000000006651227641121600227150ustar00rootroot00000000000000#!/bin/sh -efu

a= . install2-init-functions
. shell-config

theme="Clearlooks-Phenix"
icon_theme="gnome"

for ver in 2.0 3.0
do
path="$destdir/etc/gtk-$ver"
if [ ! -w $path/gtkrc ]; then
mkdir -p $path ||:
touch $path/gtkrc ||:
fi
if [ -w $path/gtkrc ]; then
shell_config_set $path/gtkrc gtk-theme-name "\"$theme\"" ' = ' ' = ' ||:
shell_config_set $path/gtkrc gtk-icon-theme-name "\"$icon_theme\"" ' = ' ' = ' ||:
fi
done
installer-feature-set-gtk-theme-1.2/installer-feature.spec000064400000000000000000000016451227641121600237660ustar00rootroot00000000000000Name: installer-feature-set-gtk-theme
Version: 1.2
Release: alt1

Summary: Set default GTK 2.x and 3.x theme
License: GPLv3+
Group: System/Configuration/Other
Url: http://www.altlinux.org/Installer/beans
BuildArch: noarch
Packager: Andrey Cherepanov <cas@altlinux.org>
Source: %name-%version.tar

Requires: libshell
Requires: gtk3-theme-clearlooks-phenix
Requires: gnome-icon-theme

%description
Set default GTK 2.x and 3.x theme.

%prep
%setup

%install
%define hookdir %_datadir/install2/postinstall.d
mkdir -p %buildroot%hookdir
install -pm755 *.sh %buildroot%hookdir/

%files
%hookdir/*

%changelog
* Tue Feb 11 2014 Andrey Cherepanov <cas@altlinux.org> 1.2-alt1
- Fix autodetect requires
- Run in chroot

* Mon Feb 10 2014 Andrey Cherepanov <cas@altlinux.org> 1.1-alt1
- Test of existence of gtkrc files
- Set icon theme too

* Mon Feb 10 2014 Andrey Cherepanov <cas@altlinux.org> 1.0-alt1
- Initial build in Sisyphus
 
дизайн и разработка: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
текущий майнтейнер: Michael Shigorin