oranchelo-icon-theme: 0.8.0.1 -> 0.9.0

https://github.com/OrancheloTeam/oranchelo-icon-theme/releases/tag/v0.9.0

We use the upstream Makefile instead of copying the files manually in
the installPhase.
This commit is contained in:
kilianar 2022-07-25 11:05:15 +02:00
parent 5a0e0d73b9
commit a699e5e1ef

View file

@ -2,13 +2,13 @@
stdenvNoCC.mkDerivation rec { stdenvNoCC.mkDerivation rec {
pname = "oranchelo-icon-theme"; pname = "oranchelo-icon-theme";
version = "0.8.0.1"; version = "0.9.0";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "OrancheloTeam"; owner = "OrancheloTeam";
repo = pname; repo = pname;
rev = "096c8c8d550ac9a85f5f34f3f30243e6f198df2d"; rev = "v${version}";
sha256 = "sha256-TKi42SA33pGKdrPtGTpvxFbOP+5N93Y4BvO4CRTveLM="; sha256 = "sha256-IDsZj/X9rFSdDpa3bL6IPEPCRe5GustPteDxSbfz+SA=";
}; };
nativeBuildInputs = [ nativeBuildInputs = [
@ -22,9 +22,18 @@ stdenvNoCC.mkDerivation rec {
dontDropIconThemeCache = true; dontDropIconThemeCache = true;
installPhase = '' makeFlags = [
mkdir -p $out/share/icons "DESTDIR=$(out)"
cp -r $Oranchelo* $out/share/icons/ "PREFIX="
];
postInstall = ''
# space in icon name causes gtk-update-icon-cache to fail
mv "$out/share/icons/Oranchelo/apps/scalable/ grsync.svg" "$out/share/icons/Oranchelo/apps/scalable/grsync.svg"
for theme in $out/share/icons/*; do
gtk-update-icon-cache "$theme"
done
''; '';
meta = with lib; { meta = with lib; {