File: get-orig-source

package info (click to toggle)
libjpfcodegen-java 0.4%2Bdfsg-4
  • links: PTS, VCS
  • area: main
  • in suites: wheezy
  • size: 272 kB
  • sloc: java: 601; xml: 232; sh: 10; makefile: 4
file content (17 lines) | stat: -rw-r--r-- 426 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#!/bin/bash

DIR=$(mktemp -d)

pushd $DIR

svn export https://jabref.svn.sourceforge.net/svnroot/jabref/tags/jpfcodegen-0.4 libjpfcodegen-0.4+dfsg.orig
rm -r libjpfcodegen-0.4+dfsg.orig/lib
tar cfz libjpfcodegen_0.4+dfsg.orig.tar.gz libjpfcodegen-0.4+dfsg.orig
rm -r libjpfcodegen-0.4+dfsg.orig

popd

mv $DIR/libjpfcodegen_0.4+dfsg.orig.tar.gz ../
rm -r $DIR

echo "Done. Have fun with ../libjpfcodegen_0.4+dfsg.orig.tar.gz"