numix-icon-theme-circle: build GTK icon cache
This commit is contained in:
parent
b087ca23bf
commit
86036cc65d
@ -1,4 +1,4 @@
|
|||||||
{ stdenv, fetchFromGitHub, numix-icon-theme }:
|
{ stdenv, fetchFromGitHub, gtk3, numix-icon-theme }:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
version = "18-02-16";
|
version = "18-02-16";
|
||||||
@ -14,15 +14,19 @@ stdenv.mkDerivation rec {
|
|||||||
sha256 = "0q08q1czsk6h0dxqscbgryr12xaakp4zbch37z0jxpwh087gnq4f";
|
sha256 = "0q08q1czsk6h0dxqscbgryr12xaakp4zbch37z0jxpwh087gnq4f";
|
||||||
};
|
};
|
||||||
|
|
||||||
buildInputs = [ numix-icon-theme ];
|
nativeBuildInputs = [ gtk3 numix-icon-theme ];
|
||||||
|
|
||||||
dontBuild = true;
|
|
||||||
|
|
||||||
installPhase = ''
|
installPhase = ''
|
||||||
install -dm 755 $out/share/icons
|
install -dm 755 $out/share/icons
|
||||||
cp -dr --no-preserve='ownership' Numix-Circle{,-Light} $out/share/icons/
|
cp -dr --no-preserve='ownership' Numix-Circle{,-Light} $out/share/icons/
|
||||||
'';
|
'';
|
||||||
|
|
||||||
|
postFixup = ''
|
||||||
|
for theme in $out/share/icons/*; do
|
||||||
|
gtk-update-icon-cache $theme
|
||||||
|
done
|
||||||
|
'';
|
||||||
|
|
||||||
meta = with stdenv.lib; {
|
meta = with stdenv.lib; {
|
||||||
description = "Numix icon theme (circle version)";
|
description = "Numix icon theme (circle version)";
|
||||||
homepage = https://numixproject.org;
|
homepage = https://numixproject.org;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user