[SM-Commit] GIT changes to master grimoire by Arjan Bouter (6bc4e16b060db3df9fc136273d47da12b8597bd5)
Arjan Bouter
scm at sourcemage.org
Tue Nov 13 11:42:49 EST 2007
GIT changes to master grimoire by Arjan Bouter <abouter at sourcemage.org>:
windowmanagers/fluxbox/DOWNLOAD | 49 ++++++++++++++++++++++++++++++++++++++++
1 files changed, 49 insertions(+)
New commits:
commit 6bc4e16b060db3df9fc136273d47da12b8597bd5
Author: Arjan Bouter <abouter at sourcemage.org>
Commit: Arjan Bouter <abouter at sourcemage.org>
fluxbox: added DOWNLOAD for real this time. I was still awake when I pushed
this, no really! ;)
diff --git a/windowmanagers/fluxbox/DOWNLOAD b/windowmanagers/fluxbox/DOWNLOAD
new file mode 100755
index 0000000..873b9fa
--- /dev/null
+++ b/windowmanagers/fluxbox/DOWNLOAD
@@ -0,0 +1,49 @@
+function url_r_svn_crack() {
+
+ URL=`url_strip_prefix "$1" svn`
+ R_SVN_ROOT=`echo $URL | sed "s#\(^[^/]*[^:]*\):.*#\1#"`
+ local R_SVN_MODULE_TAG=`echo $URL | sed "s#^[^/]*[^:]*\(.*\)#\1#"`
+ R_SVN_MODULE=`echo $R_SVN_MODULE_TAG | cut -d : -f2`
+ local R_SVN_TAGNAME=`echo $R_SVN_MODULE_TAG | cut -d : -f3`
+ R_SVN_TAG=${R_SVN_TAGNAME:-HEAD}
+
+}
+
+url_r_svn_crack ${SOURCE_URL} &&
+message "${MESSAGE_COLOR}Starting SVN checkout of" \
+ "${FILE_COLOR}${SOURCE}${MESSAGE_COLOR}...${DEFAULT_COLOR}" &&
+if [[ -f $SOURCE_CACHE/${SOURCE} ]]
+then
+ message "${MESSAGE_COLOR}Previous source found unpacking...${DEFAULT_COLOR}" &&
+ tar -jxf $SOURCE_CACHE/${SOURCE} &&
+ cd $R_SVN_MODULE &&
+ message "${MESSAGE_COLOR}Running SVN update...${DEFAULT_COLOR}" &&
+ svn \
+ --non-interactive \
+ update \
+ -r${R_SVN_TAG} &&
+ cd .. &&
+ message "${MESSAGE_COLOR}Done...${DEFAULT_COLOR}"
+else
+ message "${MESSAGE_COLOR}Running initial SVN checkout...${DEFAULT_COLOR}" &&
+ svn \
+ --non-interactive \
+ checkout \
+ -r${R_SVN_TAG} \
+ svn://${R_SVN_ROOT} \
+ ${R_SVN_MODULE} &&
+ message "${MESSAGE_COLOR}Done...${DEFAULT_COLOR}"
+fi &&
+message "${MESSAGE_COLOR}Generating tarball...${DEFAULT_COLOR}" &&
+tar -jcf \
+ ${SOURCE} \
+ ${R_SVN_MODULE} &&
+cp ${SOURCE} ${SOURCE_CACHE}/${SOURCE} &&
+rm ${SOURCE} &&
+message "${MESSAGE_COLOR}SVN Checkout complete...${DEFAULT_COLOR}" &&
+
+if [[ $SOURCE2 ]]; then
+ acquire_src 2 &&
+ acquire_src 3 &&
+ acquire_src 4
+fi
More information about the SM-Commit
mailing list