Merge pull request #86829 from iblech/patch-13

tuxpaint: install desktop file
This commit is contained in:
Lassulus 2020-09-25 15:01:14 +02:00 committed by GitHub
commit b69f76b5c5
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -30,6 +30,12 @@ stdenv.mkDerivation rec {
}; };
postInstall = '' 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 tar xzf $stamps
cd tuxpaint-stamps-2014.08.23 cd tuxpaint-stamps-2014.08.23
make install-all PREFIX=$out make install-all PREFIX=$out