r12818 - packages/trunk/phlipple/debian

Miriam Ruiz miriam at alioth.debian.org
Wed Nov 16 13:11:59 UTC 2011


Author: miriam
Date: 2011-11-16 13:11:58 +0000 (Wed, 16 Nov 2011)
New Revision: 12818

Added:
   packages/trunk/phlipple/debian/phlipple-data.install
Modified:
   packages/trunk/phlipple/debian/control
   packages/trunk/phlipple/debian/phlipple.install
   packages/trunk/phlipple/debian/rules
Log:
Separate arch-indep data files



Modified: packages/trunk/phlipple/debian/control
===================================================================
--- packages/trunk/phlipple/debian/control	2011-11-16 12:55:35 UTC (rev 12817)
+++ packages/trunk/phlipple/debian/control	2011-11-16 13:11:58 UTC (rev 12818)
@@ -13,7 +13,7 @@
 
 Package: phlipple
 Architecture: any
-Depends: ${shlibs:Depends}, ${misc:Depends}
+Depends: phlipple-data (>= ${source:Version}), ${shlibs:Depends}, ${misc:Depends}
 Suggests: phlipple-dbg (= ${binary:Version})
 Description: reduce 3D shapes to a single square
  Phlipple is a unique puzzle game. The goal of every level is to reduce
@@ -22,6 +22,19 @@
  to teach the basics just to later on serve hours of brain tickling fun.
  It's a great way to train memory as well as orientation in 3D.
 
+Package: phlipple-data
+Architecture: all
+Depends: ${shlibs:Depends}, ${misc:Depends}
+Recommends: phlipple (>= ${source:Version})
+Description: reduce 3D shapes to a single square - game data
+ Phlipple is a unique puzzle game. The goal of every level is to reduce
+ a 3D shape to a single square. Elimination of squares is done by flipping
+ edges around just like in a cardboard box. It starts off relatively easy
+ to teach the basics just to later on serve hours of brain tickling fun.
+ It's a great way to train memory as well as orientation in 3D.
+ .
+ This package contains the game data.
+
 Package: phlipple-dbg
 Section: debug
 Priority: extra

Added: packages/trunk/phlipple/debian/phlipple-data.install
===================================================================
--- packages/trunk/phlipple/debian/phlipple-data.install	                        (rev 0)
+++ packages/trunk/phlipple/debian/phlipple-data.install	2011-11-16 13:11:58 UTC (rev 12818)
@@ -0,0 +1 @@
+usr/share/phlipple

Modified: packages/trunk/phlipple/debian/phlipple.install
===================================================================
--- packages/trunk/phlipple/debian/phlipple.install	2011-11-16 12:55:35 UTC (rev 12817)
+++ packages/trunk/phlipple/debian/phlipple.install	2011-11-16 13:11:58 UTC (rev 12818)
@@ -1 +1,3 @@
+usr/games/*
+usr/share/applications/*
 debian/*.xpm usr/share/pixmaps/

Modified: packages/trunk/phlipple/debian/rules
===================================================================
--- packages/trunk/phlipple/debian/rules	2011-11-16 12:55:35 UTC (rev 12817)
+++ packages/trunk/phlipple/debian/rules	2011-11-16 13:11:58 UTC (rev 12818)
@@ -57,34 +57,47 @@
 	dh_testroot
 	dh_prep
 	dh_installdirs
-	$(MAKE) DESTDIR=$(CURDIR)/debian/phlipple install
-	rm -vf `find '$(CURDIR)/debian/phlipple' -name COPYING`
-	rm -vf `find '$(CURDIR)/debian/phlipple' -name INSTALL`
-	rm -vf `find '$(CURDIR)/debian/phlipple' -name NEWS`
+	$(MAKE) DESTDIR=$(CURDIR)/debian/tmp install
 
 # Build architecture-independent files here.
 binary-indep: install
+	dh_testdir
+	dh_testroot
+	dh_installchangelogs -i
+	dh_installdocs -i
+	dh_installexamples -i
+	dh_install -i
+	dh_installmenu -i
+	dh_installman -i
+	dh_link -i
+	dh_compress -i
+	dh_fixperms -i
+	[ ! -e /usr/bin/dh_buildinfo ] || dh_buildinfo -i
+	dh_installdeb -i
+	dh_gencontrol -i
+	dh_md5sums -i
+	dh_builddeb -i
 
 # Build architecture-dependent files here.
 binary-arch: install
 	dh_testdir
 	dh_testroot
-	dh_installchangelogs
-	dh_installdocs
-	dh_installexamples
-	dh_install
-	dh_installmenu
-	dh_installman
-	dh_link
-	dh_strip --dbg-package=phlipple-dbg
-	dh_compress
-	dh_fixperms
-	[ ! -e /usr/bin/dh_buildinfo ] || dh_buildinfo
-	dh_installdeb
-	dh_shlibdeps
-	dh_gencontrol
-	dh_md5sums
-	dh_builddeb
+	dh_installchangelogs -a ChangeLog
+	dh_installdocs -a
+	dh_installexamples -a
+	dh_install -a
+	dh_installmenu -a
+	dh_installman -a
+	dh_link -a
+	dh_strip -a --dbg-package=phlipple-dbg
+	dh_compress -a
+	dh_fixperms -a
+	[ ! -e /usr/bin/dh_buildinfo ] || dh_buildinfo -a
+	dh_installdeb -a
+	dh_shlibdeps -a
+	dh_gencontrol -a
+	dh_md5sums -a
+	dh_builddeb -a
 
 binary: binary-indep binary-arch
 .PHONY: config build build-indep build-arch clean binary-indep binary-arch binary install 




More information about the Pkg-games-commits mailing list