blob: a2589fa3e987e56b8046af0f299694ab61aab0e8 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
diff --unified --recursive --text metamorphose2/Makefile metamorphose2.new/Makefile
--- metamorphose2/Makefile 2023-07-09 11:52:18.734475500 -0700
+++ metamorphose2.new/Makefile 2023-07-09 11:54:04.364460715 -0700
@@ -60,14 +60,14 @@
cd messages && $(MAKE) install
# adjust app.py translations' search-path
- sed -i "s|/usr|$(DESTDIR)$(PREFIX)|g" $(DESTDIR)$(PREFIX)/share/$(PACKAGE)/app.py;
+ sed -i "s|/usr|$(PREFIX)|g" $(DESTDIR)$(PREFIX)/share/$(PACKAGE)/app.py;
# install the executables
install -d $(DESTDIR)$(PREFIX)/bin/;
install -m 755 $(PACKAGE) $(DESTDIR)$(PREFIX)/bin/;
# adjust executable' path
- sed -i "s|/usr|$(DESTDIR)$(PREFIX)|g" $(DESTDIR)$(PREFIX)/bin/$(PACKAGE);
+ sed -i "s|/usr|$(PREFIX)|g" $(DESTDIR)$(PREFIX)/bin/$(PACKAGE);
# copy icon and launcher if folders exist
#must create this folders or rpm won't build
|