mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-17 23:36:17 +01:00
tuxpaint: install desktop file
This commit is contained in:
parent
9d0e9423a8
commit
faec169f0d
1 changed files with 6 additions and 0 deletions
|
@ -30,6 +30,12 @@ stdenv.mkDerivation rec {
|
|||
};
|
||||
|
||||
postInstall = ''
|
||||
# Install desktop file
|
||||
mkdir -p $out/share/applications
|
||||
cp hildon/tuxpaint.xpm $out/share/pixmaps
|
||||
sed -e "s+Exec=tuxpaint+Exec=$out/bin/tuxpaint+" < src/tuxpaint.desktop > $out/share/applications/tuxpaint.desktop
|
||||
|
||||
# Install stamps
|
||||
tar xzf $stamps
|
||||
cd tuxpaint-stamps-2014.08.23
|
||||
make install-all PREFIX=$out
|
||||
|
|
Loading…
Reference in a new issue