File: rules

package info (click to toggle)
performous-composer 2.0+20181009-gitbeeea23-2
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 668 kB
  • sloc: cpp: 5,646; python: 153; sh: 42; makefile: 13
file content (18 lines) | stat: -rwxr-xr-x 771 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#!/usr/bin/make -f

%:
	dh $@

override_dh_auto_install:
	dh_auto_install

	# Rename to performous-composer, because php-composer owns the composer namespace
	mv debian/performous-composer/usr/bin debian/performous-composer/usr/games
	mv debian/performous-composer/usr/games/composer \
	    debian/performous-composer/usr/games/performous-composer
	mv debian/performous-composer/usr/share/pixmaps/composer.png \
	    debian/performous-composer/usr/share/pixmaps/performous-composer.png
	mv debian/performous-composer/usr/share/applications/composer.desktop \
	    debian/performous-composer/usr/share/applications/performous-composer.desktop
	sed -i -e 's/\(composer\)/performous-\1/i' \
	    debian/performous-composer/usr/share/applications/performous-composer.desktop