[SCM] Debian package for amoebax branch, master, updated. fe133f2d55aafbfb3f46f2f830ee150ca47146b8
Wences Arana
aranax at debian.org.gt
Thu Jul 28 02:43:16 UTC 2011
The following commit has been merged in the master branch:
commit dda5adde1cbcd9b68a5e61f644b5d8b2e13070b1
Author: Wences Arana <aranax at debian.org.gt>
Date: Wed Jul 27 18:27:34 2011 -0600
Add fields for vcs on control file and add get-orig-source statement on rules
diff --git a/debian/control b/debian/control
index 87aec37..9ffd420 100644
--- a/debian/control
+++ b/debian/control
@@ -6,7 +6,8 @@ Uploaders: Wences Arana <aranax at debian.org.gt>
Build-Depends: debhelper (>= 8.0), autotools-dev, libsdl1.2-dev, libsdl-image1.2-dev, libsdl-mixer1.2-dev
Standards-Version: 3.9.2
Homepage: http://www.emma-soft.com/games/amoebax/index.html
-
+Vcs-Git: git://anonscm.debian.org/pkg-games/amoebax.git
+Vcs-Browser: http://anonscm.debian.org/git/pkg-games/amoebax.git
Package: amoebax
Architecture: any
Depends: ${shlibs:Depends}, ${misc:Depends}, amoebax-data (= ${source:Version})
diff --git a/debian/rules b/debian/rules
index 354d10a..4cebd7b 100755
--- a/debian/rules
+++ b/debian/rules
@@ -1,13 +1,4 @@
#!/usr/bin/make -f
-# -*- makefile -*-
-# Sample debian/rules that uses debhelper.
-# This file was originally written by Joey Hess and Craig Small.
-# As a special exception, when this file is copied by dh-make into a
-# dh-make output file, you may use that output file without restriction.
-# This special exception was added by Craig Small in version 0.37 of dh-make.
-
-# Uncomment this to turn on verbose mode.
-#export DH_VERBOSE=1
%:
dh $@
@@ -15,3 +6,16 @@
override_dh_auto_configure:
dh_auto_configure -- --bindir=/usr/games --datadir=/usr/share/games --mandir=/usr/share/man
+# Grab the version before +dfsg
+DEB_UPSTREAM_VERSION=$(shell dpkg-parsechangelog | sed -rne 's,^Version: ([^+]+).*,\1,p')
+get-orig-source:
+ uscan --noconf --force-download --rename --download-current-version --destdir=.
+ rm -rf amoebax-$(DEB_UPSTREAM_VERSION)
+ tar -xjf amoebax_$(DEB_UPSTREAM_VERSION).orig.tar.bz2
+ rm amoebax_$(DEB_UPSTREAM_VERSION).orig.tar.bz2
+ rm -r amoebax-$(DEB_UPSTREAM_VERSION)/data/dlls
+ mv amoebax-$(DEB_UPSTREAM_VERSION) amoebax-$(DEB_UPSTREAM_VERSION).orig
+ GZIP=--best tar -cj --owner root --group root --mode a+rX \
+ -f amoebax_$(DEB_UPSTREAM_VERSION)+dfsg.orig.tar.bz2 \
+ amoebax-$(DEB_UPSTREAM_VERSION).orig
+ rm -r amoebax-$(DEB_UPSTREAM_VERSION).orig
\ No newline at end of file
--
Debian package for amoebax
More information about the Pkg-games-commits
mailing list