The following commit has been merged in the master branch:
commit 4e91891eb09b6a2cc11791c41ab735973bcbb96a
Author: Felix Geyer <[email protected]>
Date:   Thu Aug 4 14:29:17 2011 +0200

    Use dh_link to create the DejaVuSans.ttf symlink.

diff --git a/debian/changelog b/debian/changelog
index b05c3c0..806e71b 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -6,6 +6,7 @@ teeworlds (0.6.1+dfsg-1) UNRELEASED; urgency=low
   * Refresh patches.
   * Drop patches that have been applied upstream: fix-ftbfs-hurd.patch,
     fix-ftbfs-kfreebsd.patch and gcc-endianness.patch.
+  * Use dh_link to create the DejaVuSans.ttf symlink.
 
  -- Felix Geyer <[email protected]>  Thu, 04 Aug 2011 11:30:35 +0200
 
diff --git a/debian/rules b/debian/rules
index 485f8a2..935d090 100755
--- a/debian/rules
+++ b/debian/rules
@@ -39,12 +39,6 @@ override_dh_auto_clean:
        rm -rf .bam debian/icotmp
        rm -f datasrc/*.pyc config.lua
 
-override_dh_install:
-       dh_install
-ifneq (,$(filter teeworlds-data, $(shell dh_listpackages)))
-       ln -s /usr/share/fonts/truetype/ttf-dejavu/DejaVuSans.ttf 
debian/teeworlds-data/usr/share/games/teeworlds/data/fonts/
-endif
-
 override_dh_fixperms:
        dh_fixperms
 ifneq (,$(filter teeworlds-data, $(shell dh_listpackages)))
diff --git a/debian/teeworlds-data.links b/debian/teeworlds-data.links
new file mode 100644
index 0000000..94ab164
--- /dev/null
+++ b/debian/teeworlds-data.links
@@ -0,0 +1 @@
+/usr/share/fonts/truetype/ttf-dejavu/DejaVuSans.ttf 
/usr/share/games/teeworlds/data/fonts/DejaVuSans.ttf

-- 
Packaging for teeworlds

_______________________________________________
Pkg-games-commits mailing list
[email protected]
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-games-commits

Reply via email to