[SCM] gsequencer/master: download upstream tarball as well in custom debian/rules target and create symlink to ../build-area directory
jkraehemann-guest at users.alioth.debian.org
jkraehemann-guest at users.alioth.debian.org
Tue Aug 22 13:17:08 UTC 2017
The following commit has been merged in the master branch:
commit 2cf2318a46f903619f12b5d20492caf5766be7db
Author: Joël Krähemann <jkraehemann-guest at users.alioth.debian.org>
Date: Tue Aug 22 15:11:37 2017 +0200
download upstream tarball as well in custom debian/rules target and create symlink to ../build-area directory
diff --git a/debian/rules b/debian/rules
index c7b802e..059d37e 100755
--- a/debian/rules
+++ b/debian/rules
@@ -35,7 +35,10 @@ DEB_UPSTREAM_MINOR_VERSION := $(shell echo $(DEB_UPSTREAM_VERSION) | sed -r 's/(
get-orig-source:
mkdir -p ../tarballs
+ mkdir -p ../build-area
+ wget -O "../tarballs/$(DEB_SOURCE_PACKAGE)_$(DEB_UPSTREAM_VERSION).orig.tar.gz" -c "http://download.savannah.gnu.org/releases/gsequencer/$(DEB_UPSTREAM_MINOR_VERSION)/$(DEB_SOURCE_PACKAGE)-$(DEB_UPSTREAM_VERSION).tar.gz"
wget -O "../tarballs/$(DEB_SOURCE_PACKAGE)_$(DEB_UPSTREAM_VERSION).orig.tar.gz.asc" -c "http://download.savannah.gnu.org/releases/gsequencer/$(DEB_UPSTREAM_MINOR_VERSION)/$(DEB_SOURCE_PACKAGE)-$(DEB_UPSTREAM_VERSION).tar.gz.sig"
+ ln -s "../tarballs/$(DEB_SOURCE_PACKAGE)_$(DEB_UPSTREAM_VERSION).orig.tar.gz.asc" ../build-area/
override_dh_auto_configure:
dh_auto_configure -- $(archconfflags)
@@ -143,5 +146,4 @@ override_dh_clean:
rm -f docs/reference/libgsequencer/tmpl-build.stamp
rm -f docs/reference/libgsequencer/tmpl.stamp
rm -rf docs/reference/libgsequencer/tmpl/
- rm -f "debian/source/$(DEB_SOURCE_PACKAGE)_$(DEB_UPSTREAM_VERSION).orig.tar.gz.asc"
dh_clean
--
gsequencer packaging
More information about the pkg-multimedia-commits
mailing list