[SCM] Debian packaging of get-flash-videos branch, master, updated. 7b3990878f83dc8de8ad6b96a030ea8d1aad49ae
Julián Moreno Patiñ?==?UTF-8?Q?o
darkjunix at gmail.com
Mon Sep 26 07:55:12 UTC 2011
The following commit has been merged in the master branch:
commit 376fdda7d92ab8d0226dabea6a03155e008ee50f
Author: Julián Moreno Patiño <darkjunix at gmail.com>
Date: Mon Sep 26 02:37:46 2011 -0500
Add get-orig-source target to get upstream tarball
diff --git a/debian/rules b/debian/rules
index 74439ab..83dc56b 100755
--- a/debian/rules
+++ b/debian/rules
@@ -2,5 +2,19 @@
# -*- makefile -*-
#export DH_VERBOSE=1
+SOURCE = get-flash-videos
+VERSION = $(shell dpkg-parsechangelog | sed -rne 's,^Version: ([^-]+).*,\1,p')
+GIT_URL = git://github.com/monsieurvideo/get-flash-videos.git
+ORIGDIR = $(SOURCE)-$(VERSION)
+TARNAME = $(SOURCE)_$(VERSION).orig.tar.gz
+
+get-orig-source:
+ rm -rf $(ORIGDIR)
+ git clone $(GIT_URL) $(ORIGDIR)
+ rm -rf $(ORIGDIR)/.git*
+ rm -rf $(ORIGDIR)/debian
+ tar --numeric-owner --owner 0 --group 0 -czf ../$(TARNAME) $(ORIGDIR)
+ rm -rf $(ORIGDIR)
+
%:
- dh $@
+ dh $@
--
Debian packaging of get-flash-videos
More information about the Pkg-perl-cvs-commits
mailing list