summaryrefslogtreecommitdiffstats
path: root/opensuse/gentarball
diff options
context:
space:
mode:
authorRobert Xu <robxu9@gmail.com>2011-08-14 22:18:41 -0400
committerRobert Xu <robxu9@gmail.com>2011-08-14 22:18:41 -0400
commitfbc1d6223981533b363c7688d825ba56e26c0b40 (patch)
treee29437a5ce481a23c473c6e4d6a69f41dad1d0a2 /opensuse/gentarball
parente8724f63ecf6c4b6ce612fd56ff81c27a028b70d (diff)
downloadtde-packaging-fbc1d6223981533b363c7688d825ba56e26c0b40.tar.gz
tde-packaging-fbc1d6223981533b363c7688d825ba56e26c0b40.zip
myriad of little fixes
Diffstat (limited to 'opensuse/gentarball')
-rwxr-xr-xopensuse/gentarball23
1 files changed, 16 insertions, 7 deletions
diff --git a/opensuse/gentarball b/opensuse/gentarball
index 593539a5a..20df73b6b 100755
--- a/opensuse/gentarball
+++ b/opensuse/gentarball
@@ -5,18 +5,25 @@ if [ "$1" == "" ]; then
VERSION=3.5.12.99
fi
-grabDependsTarball()
+createTarball()
{
-svn export svn://anonsvn.kde.org/home/kde/branches/trinity/dependencies/$NAME
-mv -v $NAME $NAME-$VERSION
+cp -r $NAME $NAME-$VERSION
tar cjf $NAME-$VERSION.tar.bz2 $NAME-$VERSION
rm -rf $NAME-$VERSION
-echo "done"
}
+grabDepends()
+{
+svn export svn://anonsvn.kde.org/home/kde/branches/trinity/dependencies/$NAME
+createTarball
+rm -rf $NAME
+echo "done"
+}
-echo "This is for testing locally without services."
-echo "I need to know what tarball you want to generate from."
+echo "I need to know what you want to generate a tarball for."
+echo ""
+echo "Version is set to $VERSION. If you want to change it,"
+echo "please pass it as a parameter to this script."
echo ""
echo "Let's start off by dependencies, main, or apps."
echo "Which one?"
@@ -28,6 +35,8 @@ echo -e "> "
read SELECTION
if [ "$SELECTION" = "1" ]; then
+ clear
+ echo "Dependencies: Select what you want us to generate."
echo "(1) libtqt4"
echo "(2) dbus-1-tqt"
echo "(3) libdbus-1-tqt-0"
@@ -41,7 +50,7 @@ if [ "$SELECTION" = "1" ]; then
else
echo "Invalid, bye." && exit 1
fi
- grabDependsTarball
+ grabDepends
else
echo "Invalid, bye." && exit 1
fi