[getfem] 01/05: Add get_orig.sh script.
Anton Gladky
gladk at alioth.debian.org
Sat Sep 14 17:19:50 UTC 2013
This is an automated email from the git hooks/post-receive script.
gladk pushed a commit to branch master
in repository getfem.
commit 6e2d1434a6bb055c1f4d1be17e9aa23182e97b00
Author: Anton Gladky <gladky.anton at gmail.com>
Date: Sat Sep 14 19:12:54 2013 +0200
Add get_orig.sh script.
---
debian/scripts/get_orig.sh | 27 +++++++++++++++++++++++++++
1 file changed, 27 insertions(+)
diff --git a/debian/scripts/get_orig.sh b/debian/scripts/get_orig.sh
new file mode 100755
index 0000000..bca295d
--- /dev/null
+++ b/debian/scripts/get_orig.sh
@@ -0,0 +1,27 @@
+#!/bin/sh
+# The script creates a tar.xz tarball from svn-repository of GMSH
+# atool, subversion
+
+
+rm -rf getfem
+echo Cloning the svn-repo
+svn co svn://svn.gna.org/getfem/trunk/getfem
+
+REVISION=`svn info getfem ./ | grep '^Revision:' | sed -e 's/^Revision: //'`
+echo Revision ID is ${REVISION}
+
+find . -name .svn -print0 | xargs -0 rm -r
+rm -rf getfem/msvc2010
+
+echo Making dfsg-compatible
+
+find getfem/ -name \*.so | xargs rm
+
+folderName=getfem-4.2.1~beta1~svn${REVISION}~dfsg
+fileName=getfem_4.2.1~beta1~svn${REVISION}~dfsg.orig.tar.xz
+
+mv getfem ${folderName}
+echo Creating a tarball
+
+apack ${fileName} ${folderName}
+rm -rf ${folderName}
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-science/packages/getfem.git
More information about the debian-science-commits
mailing list