summaryrefslogtreecommitdiff
blob: aaaf11721031a977a96eeb1128578aeb32e4d29a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
--- Makefile.am.orig	2003-06-20 11:33:42.000000000 -0400
+++ Makefile.am	2003-06-20 11:33:47.000000000 -0400
@@ -3,4 +3,4 @@
 EXTRA_DIST = $(pkgdata_DATA) 
 
 install-pkgdataDATA:
-	./installIcons $(bindir)
+	./installIcons $(bindir) $(DESTDIR)
--- installIcons.orig	2003-10-11 00:55:29.864701376 -0400
+++ installIcons	2003-10-11 00:56:10.453530936 -0400
@@ -9,13 +9,13 @@
 if [ -d /usr/share/applications ]; then
 
     # Install the desktop file in appropriate place
-    install trackballs.desktop /usr/share/applications
+    install trackballs.desktop $2/usr/share/applications
 else
 
     # Attempt to install the desktop file in the old way
     for path in /usr/share /usr/local/share /opt/share /opt/kde/share /opt/kde3/share /opt/kde3.1/share ; do
 	if [ -d $path/applnk/Games/Arcade ]; then
-	    install trackballs.desktop $path/applnk/Games/Arcade
+	    install trackballs.desktop $2/$path/applnk/Games/Arcade
 	fi
     done
 fi
@@ -23,14 +23,14 @@
 # Now install the icons everywhere they might be needed
 for path in /usr/share /usr/local/share /opt/share /opt/kde/share /opt/kde3/share /opt/kde3.1/share ; do
     if [ -d $path/icons/default.kde/32x32/apps ]; then
-	install trackballs-32x32.png $path/icons/default.kde/32x32/apps/trackballs.png
+	install trackballs-32x32.png $2/$path/icons/default.kde/32x32/apps/trackballs.png
     fi
     
     if [ -d $path/icons/default.kde/48x48/apps ]; then
-	install trackballs-48x48.png $path/icons/default.kde/48x48/apps/trackballs.png
+	install trackballs-48x48.png $2/$path/icons/default.kde/48x48/apps/trackballs.png
     fi
     
     if [ -d $path/icons/default.kde/64x64/apps ]; then
-	install trackballs-64x64.png $path/icons/default.kde/64x64/apps/trackballs.png
+	install trackballs-64x64.png $2/$path/icons/default.kde/64x64/apps/trackballs.png
     fi
 done