Merge pull request #106438 from eduardosm/milkytracker
milkytracker: install .desktop, .appdata and icon files
This commit is contained in:
commit
f37e7aeb8f
@ -19,6 +19,12 @@ stdenv.mkDerivation rec {
|
|||||||
# Somehow this does not get set automatically
|
# Somehow this does not get set automatically
|
||||||
cmakeFlags = [ "-DSDL2MAIN_LIBRARY=${SDL2}/lib/libSDL2.so" ];
|
cmakeFlags = [ "-DSDL2MAIN_LIBRARY=${SDL2}/lib/libSDL2.so" ];
|
||||||
|
|
||||||
|
postInstall = ''
|
||||||
|
install -Dm644 $src/resources/milkytracker.desktop $out/share/applications/milkytracker.desktop
|
||||||
|
install -Dm644 $src/resources/pictures/carton.png $out/share/pixmaps/milkytracker.png
|
||||||
|
install -Dm644 $src/resources/milkytracker.appdata $out/share/appdata/milkytracker.appdata.xml
|
||||||
|
'';
|
||||||
|
|
||||||
meta = with stdenv.lib; {
|
meta = with stdenv.lib; {
|
||||||
description = "Music tracker application, similar to Fasttracker II";
|
description = "Music tracker application, similar to Fasttracker II";
|
||||||
homepage = "http://milkytracker.org";
|
homepage = "http://milkytracker.org";
|
||||||
|
Loading…
x
Reference in New Issue
Block a user