r12397 - non-free/packages/trunk/assaultcube/debian

Arand Nash arand-guest at alioth.debian.org
Tue May 17 13:04:41 UTC 2011


Author: arand-guest
Date: 2011-05-17 13:04:35 +0000 (Tue, 17 May 2011)
New Revision: 12397

Modified:
   non-free/packages/trunk/assaultcube/debian/README.Debian
   non-free/packages/trunk/assaultcube/debian/rules
Log:
Don't remove codeblocks and doxygen

Modified: non-free/packages/trunk/assaultcube/debian/README.Debian
===================================================================
--- non-free/packages/trunk/assaultcube/debian/README.Debian	2011-05-17 13:03:51 UTC (rev 12396)
+++ non-free/packages/trunk/assaultcube/debian/README.Debian	2011-05-17 13:04:35 UTC (rev 12397)
@@ -9,8 +9,7 @@
 
 
 The directories 'include' (everything apart from utf8*), 'xcode', 'vcpp', 'lib',
- 'doxygen' and 'codeblocks' were removed from the Debian package, because
- header files in these directories are already shipped within other Debian
- packages and a lot of other files in there are useless on GNU/Linux. Also some
- proprietary header files with unknown distribution were found in there and
- removed.
+ were removed from the Debian package, because header files in these directories
+ are already shipped within other Debian packages, and a lot of other files in
+ there are useless on GNU/Linux. Also some proprietary header files with unknown
+ terms of distribution were found in there and removed.

Modified: non-free/packages/trunk/assaultcube/debian/rules
===================================================================
--- non-free/packages/trunk/assaultcube/debian/rules	2011-05-17 13:03:51 UTC (rev 12396)
+++ non-free/packages/trunk/assaultcube/debian/rules	2011-05-17 13:04:35 UTC (rev 12397)
@@ -9,3 +9,22 @@
 
 get-orig-source:
 	uscan --noconf --force-download --rename --repack --download-current-version --destdir=.
+
+
+
+DEB_UPSTREAM_VERSION=$(shell dpkg-parsechangelog | sed -rne 's,^Version: ([^-+]+).*,\1,p')
+DEB_UPSTREAM_REPACK_VERSION=$(shell dpkg-parsechangelog | sed -rne 's,^Version: ([^-]+).*,\1,p')
+get-orig-source:
+	uscan --noconf --force-download --download-current-version --destdir=.
+	rm -rf $(DEB_UPSTREAM_VERSION)
+	tar -xf assaultcube_$(DEB_UPSTREAM_VERSION).orig.tar.bz2
+	rm assaultcube_$(DEB_UPSTREAM_VERSION).orig.tar.bz2
+	find $(DEB_UPSTREAM_VERSION)/source/include/ ! -path utf8 -delete
+	rm -rf $(DEB_UPSTREAM_VERSION)/source/vcpp/
+	rm -rf $(DEB_UPSTREAM_VERSION)/source/Xcode/
+	mv $(DEB_UPSTREAM_VERSION) assaultcube-$(DEB_UPSTREAM_REPACK_VERSION).orig
+	GZIP=--best tar -cz --owner root --group root --mode a+rX \
+		-f assaultcube_$(DEB_UPSTREAM_REPACK_VERSION).orig.tar.gz \
+		assaultcube-$(DEB_UPSTREAM_REPACK_VERSION).orig
+	rm -r assaultcube-$(DEB_UPSTREAM_REPACK_VERSION).orig
+




More information about the Pkg-games-commits mailing list