updated on Thu Jan 26 16:09:46 UTC 2012
[aur-mirror.git] / valencia / makefile.patch
blob2ffa8af9bc3e6dbbf327ba26caf7342050f5aeea
1 --- Makefile.orig 2010-05-29 03:06:04.456027657 +0200
2 +++ Makefile 2010-05-29 03:08:15.506244949 +0200
3 @@ -28,7 +28,7 @@
4 DIST_TAR_BZ2 = $(DIST_TAR).bz2
5 DIST_TAR_GZ = $(DIST_TAR).gz
7 -ICON_DIR = ~/.local/share/icons/hicolor/128x128/apps
8 +ICON_DIR = $(DESTDIR)/usr/share/icons/hicolor/128x128/apps
10 all: valencia.gedit-plugin libvalencia.so
12 @@ -41,9 +41,8 @@
13 $(VALAC) $(VFLAGS) -X --shared -X -fPIC --vapidir=. $(PACKAGES) $(SOURCES) -o $@
15 install: libvalencia.so valencia.gedit-plugin
16 - @ [ `whoami` != "root" ] || ( echo 'Run make install as yourself, not as root.' ; exit 1 )
17 - mkdir -p ~/.gnome2/gedit/plugins
18 - cp $(OUTPUTS) ~/.gnome2/gedit/plugins
19 + mkdir -p $(DESTDIR)/usr/lib/gedit-2/plugins
20 + cp $(OUTPUTS) $(DESTDIR)/usr/lib/gedit-2/plugins
21 mkdir -p $(ICON_DIR)
22 cp -p valencia.png $(ICON_DIR)