librecad: add .desktop file and icon
Use the .desktop file and app icon included in the source package.
This commit is contained in:
parent
364290da9c
commit
2236fe0ab9
1 changed files with 5 additions and 2 deletions
|
@ -18,8 +18,11 @@ stdenv.mkDerivation rec {
|
|||
qmakeFlags = [ "MUPARSER_DIR=${muparser}" "BOOST_DIR=${boost.dev}" ];
|
||||
|
||||
installPhase = ''
|
||||
mkdir -p $out/bin $out/share
|
||||
cp -R unix/librecad $out/bin
|
||||
install -m 555 -D unix/librecad $out/bin/librecad
|
||||
install -m 444 -D desktop/librecad.desktop $out/share/applications/librecad.desktop
|
||||
install -m 444 -D desktop/librecad.sharedmimeinfo $out/share/mime/packages/librecad.xml
|
||||
install -m 444 -D desktop/graphics_icons_and_splash/Icon\ LibreCAD/Icon_Librecad.svg \
|
||||
$out/share/icons/hicolor/scalable/apps/librecad.svg
|
||||
cp -R unix/resources $out/share/librecad
|
||||
'';
|
||||
|
||||
|
|
Loading…
Reference in a new issue