summaryrefslogtreecommitdiffstats
path: root/opensuse/gentarball
diff options
context:
space:
mode:
authorRobert Xu <robxu9@gmail.com>2012-02-01 17:31:49 -0500
committerRobert Xu <robxu9@gmail.com>2012-02-01 17:31:49 -0500
commit580ce2082fe5054c9ad0e4f666cee9b4bfb2d0b6 (patch)
tree51822b9498a08be1f7a90b63e283c4950ba506a9 /opensuse/gentarball
parent5f93960dbb108c2c6d09964d1ee0d2e390b1498c (diff)
downloadtde-packaging-580ce2082fe5054c9ad0e4f666cee9b4bfb2d0b6.tar.gz
tde-packaging-580ce2082fe5054c9ad0e4f666cee9b4bfb2d0b6.zip
yuck. eclipse begone. I only use eclipse for my complicated java
projects, not my rpm packages anymore :|
Diffstat (limited to 'opensuse/gentarball')
-rwxr-xr-xopensuse/gentarball55
1 files changed, 30 insertions, 25 deletions
diff --git a/opensuse/gentarball b/opensuse/gentarball
index e9498c0ba..858a6f9c9 100755
--- a/opensuse/gentarball
+++ b/opensuse/gentarball
@@ -1,10 +1,10 @@
#!/bin/bash
# BEGIN VERSIONS
-VERSION=3.5.12.99
-ARTS_VERSION=1.5.10
-DBUS_TQT_VERSION=0.62
-DBUS_1_TQT_VERSION=0.8.1
+VERSION=R13.99
+#ARTS_VERSION=1.5.10
+#DBUS_TQT_VERSION=0.62
+#DBUS_1_TQT_VERSION=0.8.1
# END VERSIONS
createTarball()
@@ -14,22 +14,18 @@ tar cjf $NAME-$VERSION.tar.bz2 $NAME-$VERSION
rm -rf $NAME-$VERSION
}
-grabDepends()
+grab()
{
-svn export svn://anonsvn.kde.org/home/kde/branches/trinity/dependencies/$NAME
+#svn export svn://anonsvn.kde.org/home/kde/branches/trinity/$NAME
+git clone http://scm.trinitydesktop.org/scm/git/$NAME $NAME
+cd $NAME
+git submodule update --init
+cd ..
createTarball
rm -rf $NAME
echo "done"
}
-
-grabMain()
-{
-svn export svn://anonsvn.kde.org/home/kde/branches/trinity/$NAME
-createTarball
-rm -rf $NAME
-echo "done"
-}
-
+clear
echo "I need to know what you want to generate a tarball for."
echo ""
echo "Version defaults to $VERSION. If you want to change it,"
@@ -48,20 +44,29 @@ read SELECTION
if [ "$SELECTION" = "1" ]; then
clear
echo "Dependencies: Select what you want us to generate."
- echo "(1) libtqt4"
- echo "(2) libdbus-tqt-1-0"
- echo "(3) libdbus-1-tqt-0"
- echo "(4) arts"
+ echo "(1) qt3"
+ echo "(2) avahi-tqt"
+ echo "(3) python-tqt"
+ echo "(4) sip4-tqt";
+ echo "(5) tqt3";
+ echo "(6) libtqt4"
+ echo "(7) libdbus-tqt-1-0"
+ echo "(8) libdbus-1-tqt-0"
+ echo "(9) arts"
read CHOICE
- if [ "$CHOICE" = "1" ]; then NAME='tqtinterface';
- elif [ "$CHOICE" = "2" ]; then NAME='dbus-tqt' && VERSION=$DBUS_TQT_VERSION;
- elif [ "$CHOICE" = "3" ]; then NAME='dbus-1-tqt' && VERSION=$DBUS_1_TQT_VERSION;
- elif [ "$CHOICE" = "4" ]; then NAME='arts' && VERSION=$ARTS_VERSION;
+ if [ "$CHOICE" == "1" ]; then NAME='qt3';
+ elif [ "$CHOICE" == "2" ]; then NAME='avahi-tqt';
+ elif [ "$CHOICE" == "3" ]; then NAME='python-tqt';
+ elif [ "$CHOICE" == "4" ]; then NAME='sip4-tqt';
+ elif [ "$CHOICE" == "5" ]; then NAME='tqt3';
+ elif [ "$CHOICE" == "6" ]; then NAME='tqtinterface';
+ elif [ "$CHOICE" == "7" ]; then NAME='dbus-tqt';
+ elif [ "$CHOICE" == "8" ]; then NAME='dbus-1-tqt';
+ elif [ "$CHOICE" == "9" ]; then NAME='arts';
else
echo "Invalid, bye." && exit 1
fi
- grabDepends
elif [ "$SELECTION" = "2" ]; then
clear
echo "Main: Select what you want us to generate."
@@ -74,8 +79,8 @@ elif [ "$SELECTION" = "2" ]; then
else
echo "Invalid, bye." && exit 1
fi
- grabMain
else
echo "Invalid, bye." && exit 1
fi
+grab