[SCM] jaaa/master: Fix installing desktop files and icon

mira-guest at users.alioth.debian.org mira-guest at users.alioth.debian.org
Wed Aug 7 12:22:37 UTC 2013


The following commit has been merged in the master branch:
commit 7f7264aaf7628898933dbbd915697212f47a10a4
Author: Jaromír Mikeš <mira.mikes at seznam.cz>
Date:   Wed Aug 7 14:09:30 2013 +0200

    Fix installing desktop files and icon

diff --git a/debian/jaaa.install b/debian/jaaa.install
deleted file mode 100644
index 782efff..0000000
--- a/debian/jaaa.install
+++ /dev/null
@@ -1,2 +0,0 @@
-debian/jaaa.xpm usr/share/pixmaps/
-debian/*.desktop usr/share/applications/
diff --git a/debian/rules b/debian/rules
index e334c18..1219398 100755
--- a/debian/rules
+++ b/debian/rules
@@ -6,6 +6,13 @@ MAINPACKAGE?=$(shell dpkg-parsechangelog | sed -n 's/Source: \(.*\)/\1/p')
 %:
 	dh $@ --sourcedir=source
 
+override_dh_auto_install:
+	dh_auto_install
+	install -d $(CURDIR)/debian/jaaa/usr/share/applications/
+	install -d $(CURDIR)/debian/jaaa/usr/share/pixmaps/
+	install -m 644 $(CURDIR)/debian/*.desktop $(CURDIR)/debian/jaaa/usr/share/applications/
+	install -m 644 $(CURDIR)/debian/*.xpm $(CURDIR)/debian/jaaa/usr/share/pixmaps/
+
 override_dh_auto_build:
 	dh_auto_build
 	docbook-to-man debian/${MAINPACKAGE}.sgml > debian/${MAINPACKAGE}.1

-- 
jaaa packaging



More information about the pkg-multimedia-commits mailing list