[SCM] Packaging of kobodeluxe branch, master, updated. debian/0.5.1-2-14-g409f033
Damyan Ivanov
dmn at debian.org
Wed Jun 25 10:01:38 UTC 2008
The following commit has been merged in the master branch:
commit cfd5c9afdc884c70b882a4827c2c95e7ee89be6d
Author: Damyan Ivanov <dmn at debian.org>
Date: Wed Jun 25 12:13:51 2008 +0300
Split graphics and sounds into arch-indep kobodeluxe-data
diff --git a/debian/control b/debian/control
index d37ce2e..926043e 100644
--- a/debian/control
+++ b/debian/control
@@ -11,7 +11,8 @@ Homepage: http://olofson.net/kobodl/
Package: kobodeluxe
Architecture: any
-Depends: ${shlibs:Depends}, ${misc:Depends}
+Depends: kobodeluxe-data (= ${source:Version}),
+ ${shlibs:Depends}, ${misc:Depends}
Description: a game of space battle
Kobo Deluxe is a third person scrolling 2D shooter with a simple
and responsive control system - which you'll need to tackle the
@@ -22,3 +23,12 @@ Description: a game of space battle
different combinations of enemies that require different tactics
to be dealt with successfully. It's loads of classical arcade style
fun.
+
+Package: kobodeluxe-data
+Architecture: all
+Depends: ${misc:Depends}
+Recommends: kobodeluxe
+Description: a game of space battle -- shared data
+ Kobo Deluxe is a third person scrolling 2D shooter.
+ .
+ This package contains architecture-independent data for kobodeluxe.
diff --git a/debian/dirs b/debian/dirs
deleted file mode 100644
index 551346a..0000000
--- a/debian/dirs
+++ /dev/null
@@ -1 +0,0 @@
-var/games/kobo-deluxe/scores
diff --git a/debian/kobodeluxe-data.install b/debian/kobodeluxe-data.install
new file mode 100644
index 0000000..5197c29
--- /dev/null
+++ b/debian/kobodeluxe-data.install
@@ -0,0 +1,2 @@
+debian/kobo-icon.xpm /usr/share/pixmaps/
+debian/tmp/usr/share/kobo-deluxe/*
diff --git a/debian/kobodeluxe.dirs b/debian/kobodeluxe.dirs
new file mode 100644
index 0000000..c1da623
--- /dev/null
+++ b/debian/kobodeluxe.dirs
@@ -0,0 +1 @@
+usr/share/pixmaps
diff --git a/debian/kobodeluxe.install b/debian/kobodeluxe.install
new file mode 100644
index 0000000..b467406
--- /dev/null
+++ b/debian/kobodeluxe.install
@@ -0,0 +1,3 @@
+usr/games
+var
+usr/share/man
diff --git a/debian/rules b/debian/rules
index e69e325..03c016a 100755
--- a/debian/rules
+++ b/debian/rules
@@ -4,7 +4,8 @@ include /usr/share/quilt/quilt.make
SCORES = var/games/kobo-deluxe/scores
PACKAGE = $(firstword $(shell dh_listpackages))
-TMP = $(CURDIR)/debian/$(PACKAGE)
+DATAPKG = $(PACKAGE)-data
+TMP = $(CURDIR)/debian/tmp
build: build-stamp
build-stamp: $(QUILT_STAMPFN)
@@ -24,10 +25,11 @@ build-stamp: $(QUILT_STAMPFN)
install: install-stamp
install-stamp:
dh install --before auto_install
+ mkdir -p $(TMP)/$(SCORES)
$(MAKE) DESTDIR=$(TMP) kobo_scoredir=/$(SCORES) install
rm -rfv $(TMP)/usr/games/kobo-deluxe \
$(TMP)/usr/share/kobo-deluxe/scores
- dh_install debian/kobo-icon.xpm usr/share/pixmaps/
+ dh_install -p $(PACKAGE) debian/kobo-icon.xpm usr/share/pixmaps/
dh install --after auto_install --until fixperms
chown root.games $(TMP)/usr/games/kobodl \
$(TMP)/$(SCORES)
@@ -43,7 +45,8 @@ clean: unpatch
data/sfx/Makefile.in data/Makefile.in aclocal.m4 config.log \
configure config.status config.sub config.guess stamp-h
-binary-indep:
+binary-indep: install
+ dh $@
binary-arch: install
dh $@
--
Packaging of kobodeluxe
More information about the Pkg-games-commits
mailing list