[med-svn] r15756 - trunk/packages/mrbayes/trunk/debian
Andreas Tille
tille at moszumanska.debian.org
Mon Jan 13 13:30:29 UTC 2014
Author: tille
Date: 2014-01-13 13:30:29 +0000 (Mon, 13 Jan 2014)
New Revision: 15756
Modified:
trunk/packages/mrbayes/trunk/debian/get-orig-source
Log:
Adapt get-orig-source to new SVN location to fetch sources of documentation files
Modified: trunk/packages/mrbayes/trunk/debian/get-orig-source
===================================================================
--- trunk/packages/mrbayes/trunk/debian/get-orig-source 2014-01-13 13:16:53 UTC (rev 15755)
+++ trunk/packages/mrbayes/trunk/debian/get-orig-source 2014-01-13 13:30:29 UTC (rev 15756)
@@ -1,9 +1,10 @@
#!/bin/sh
-# get source for sofa-framework which assembles sofa-framework, sofa-modules and sofa-applications
+# get source for mrbayes to obtain documentation source from SVN
set -e
# set -x
NAME=`dpkg-parsechangelog | awk '/^Source/ { print $2 }'`
+COMPRESSION=xz
if ! echo $@ | grep -q upstream-version ; then
VERSION=`dpkg-parsechangelog | awk '/^Version:/ { print $2 }' | sed 's/\([0-9\.]\+\)-[0-9]\+$/\1/'`
@@ -27,7 +28,7 @@
rm -f ${TARDIR}/documentation/commref*.pdf
# fetch sources for remaining doc from SVN into temporary dir
-svn export https://mrbayes.svn.sourceforge.net/svnroot/mrbayes/documentation tmp
+svn export https://svn.code.sf.net/p/mrbayes/code/documentation tmp
# remove unneeded stuff from documentation SVN
rm -f tmp/Manual*.pdf
rm -f tmp/*.rtf
@@ -37,5 +38,5 @@
mv tmp/* ${TARDIR}/documentation
rmdir tmp
-GZIP="--best --no-name" tar czf ${TARDIR}+dfsg.orig.tar.gz ${TARDIR}
+GZIP="--best --no-name" XZ_OPT="-6v" tar --owner=root --group=root --mode=a+rX -a -cf ${TARDIR}+dfsg.orig.tar.${COMPRESSION} ${TARDIR}
rm -rf ${TARDIR}
More information about the debian-med-commit
mailing list