desktop-file-utils: update to 0.28
[oi-userland.git] / components / desktop / realvnc-java-client / patches / realvnc-java-client-06-makefile-install.patch
blobf9e45581fc8eaed014eb02c94cc044f3834013a6
1 --- vnc-4_1-javasrc/java/makefile.orig 2014-06-25 23:54:24.877741320 +0400
2 +++ vnc-4_1-javasrc/java/makefile 2014-06-25 23:58:50.132761116 +0400
3 @@ -19,6 +19,8 @@
4 $(RM) vncviewer.jar
6 install:
7 - if [ -d $(INSTALL_DIR) ]; then \
8 - cp -pf index.vnc vncviewer.jar logo150x150.gif $(INSTALL_DIR); \
9 + if [ -n "$(DESTDIR)" ]; then \
10 + rm -rf "$(DESTDIR)/usr/share/vino/" ; \
11 + mkdir -p "$(DESTDIR)/usr/share/vino/" ; \
12 + install --mode=0555 vncviewer.jar vino-client.html "$(DESTDIR)/usr/share/vino/"; \