tuxpaint: install desktop file

This commit is contained in:
Ingo Blechschmidt 2020-05-04 21:56:08 +02:00 committed by GitHub
parent 9d0e9423a8
commit faec169f0d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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