From f2f982c439292afc878c351e49d81194a902f5e2 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Sun, 3 Dec 2017 19:45:19 +0000 Subject: x11-misc/compton : don't install menu entry --- x11-misc/compton/files/makefile.patch | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) create mode 100644 x11-misc/compton/files/makefile.patch (limited to 'x11-misc/compton/files') diff --git a/x11-misc/compton/files/makefile.patch b/x11-misc/compton/files/makefile.patch new file mode 100644 index 00000000..904ec97b --- /dev/null +++ b/x11-misc/compton/files/makefile.patch @@ -0,0 +1,31 @@ +diff -Nur a/Makefile b/Makefile +--- a/Makefile 2013-10-21 15:17:01.000000000 +0100 ++++ b/Makefile 2017-12-03 19:42:08.110646392 +0000 +@@ -6,7 +6,6 @@ + PREFIX ?= /usr + BINDIR ?= $(PREFIX)/bin + MANDIR ?= $(PREFIX)/share/man/man1 +-APPDIR ?= $(PREFIX)/share/applications + + PACKAGES = x11 xcomposite xfixes xdamage xrender xext xrandr + LIBS = -lm -lrt +@@ -126,10 +125,9 @@ + docs: $(MANPAGES) $(MANPAGES_HTML) + + install: $(BINS) docs +- @install -d "$(DESTDIR)$(BINDIR)" "$(DESTDIR)$(MANDIR)" "$(DESTDIR)$(APPDIR)" ++ @install -d "$(DESTDIR)$(BINDIR)" "$(DESTDIR)$(MANDIR)" + @install -m755 $(BINS) "$(DESTDIR)$(BINDIR)"/ + @install -m644 $(MANPAGES) "$(DESTDIR)$(MANDIR)"/ +- @install -m644 compton.desktop "$(DESTDIR)$(APPDIR)"/ + ifneq "$(DOCDIR)" "" + @install -d "$(DESTDIR)$(DOCDIR)" + @install -m644 README.md compton.sample.conf "$(DESTDIR)$(DOCDIR)"/ +@@ -139,7 +137,6 @@ + uninstall: + @rm -f "$(DESTDIR)$(BINDIR)/compton" "$(DESTDIR)$(BINDIR)/compton-trans" + @rm -f $(addprefix "$(DESTDIR)$(MANDIR)"/, compton.1 compton-trans.1) +- @rm -f "$(DESTDIR)$(APPDIR)/compton.desktop" + ifneq "$(DOCDIR)" "" + @rm -f $(addprefix "$(DESTDIR)$(DOCDIR)"/, README.md compton.sample.conf cdbus-driver.sh) + endif -- cgit v1.2.3