archrelease: copy trunk to community-any
[ArchLinux/community.git] / conky-manager / trunk / makefile-roundup.patch
blobd0d211e8b2035761674432b79a4bf7be1f2eeafa
1 --- src/makefile 2015-10-22 22:12:09.111700293 +0200
2 +++ src/makefile 2015-10-22 22:12:29.688347815 +0200
3 @@ -11,7 +11,7 @@
5 all:
6 #build binaries
7 - valac -X -D'GETTEXT_PACKAGE="${app_name}"' --Xcc="-lm" -X -Wl,-rpath,/usr/share/${app_name}/libs "Main.vala" "MainWindow.vala" "EditWidgetWindow.vala" "EditThemeWindow.vala" "SettingsWindow.vala" "DonationWindow.vala" "GeneratePreviewWindow.vala" "AboutWindow.vala" "Utility.vala" -o ${app_name} --pkg glib-2.0 --pkg gio-unix-2.0 --pkg posix --pkg gtk+-3.0 --pkg gee-0.8 --pkg json-glib-1.0
8 + valac -X -D'GETTEXT_PACKAGE="${app_name}"' --Xcc="-lm" "Main.vala" "MainWindow.vala" "EditWidgetWindow.vala" "EditThemeWindow.vala" "SettingsWindow.vala" "DonationWindow.vala" "GeneratePreviewWindow.vala" "AboutWindow.vala" "Utility.vala" -o ${app_name} --pkg glib-2.0 --pkg gio-unix-2.0 --pkg posix --pkg gtk+-3.0 --pkg gee-0.8 --pkg json-glib-1.0
10 #update translation template
11 xgettext --language=C --keyword=_ --copyright-holder='Tony George (teejee2008@gmail.com)' --package-name='${app_name}' --package-version='2.0' --msgid-bugs-address='teejee2008@gmail.com' --escape --sort-output -o ../${app_name}.pot *.vala
12 @@ -29,20 +29,20 @@
14 #binary
15 install -m 0755 ${app_name} "$(DESTDIR)$(bindir)"
16 - install -m 0755 ${app_name}-uninstall "$(DESTDIR)$(bindir)"
18 #launcher
19 - install -m 0755 ${app_name}.desktop "$(DESTDIR)$(launcherdir)"
20 + install -m 644 ${app_name}.desktop "$(DESTDIR)$(launcherdir)"
22 #app icon
23 - install -m 0755 share/pixmaps/${app_name}.png "$(DESTDIR)$(sharedir)/pixmaps"
24 + install -m 644 share/pixmaps/${app_name}.png "$(DESTDIR)$(sharedir)/pixmaps"
26 #appdata.xml
27 - install -m 0755 ${app_name}.appdata.xml "$(DESTDIR)$(sharedir)/appdata"
28 + install -m 644 ${app_name}.appdata.xml "$(DESTDIR)$(sharedir)/appdata"
30 #shared files
31 cp -dpr --no-preserve=ownership -t "$(DESTDIR)$(sharedir)/${app_name}" ./share/${app_name}/*
32 - chmod --recursive 0755 $(DESTDIR)$(sharedir)/${app_name}/*
33 + chmod --recursive 644 $(DESTDIR)$(sharedir)/${app_name}/*
34 + find $(DESTDIR)$(sharedir)/${app_name} -type d -exec chmod +x '{}' +
36 #translations
37 mkdir -p "$(DESTDIR)$(localedir)/cs_CZ/LC_MESSAGES"
38 @@ -54,7 +54,6 @@
39 uninstall:
40 #binary
41 rm -f "$(DESTDIR)$(bindir)/${app_name}"
42 - rm -f "$(DESTDIR)$(bindir)/${app_name}-uninstall"
44 #launcher
45 rm -f "$(DESTDIR)$(launcherdir)/${app_name}.desktop"