diff options
-rwxr-xr-x | libreoffice/build/gensrc_lo36.sh | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/libreoffice/build/gensrc_lo36.sh b/libreoffice/build/gensrc_lo36.sh new file mode 100755 index 00000000..07254397 --- /dev/null +++ b/libreoffice/build/gensrc_lo36.sh @@ -0,0 +1,23 @@ +#!/bin/bash + +PRGNAM=libreoffice +VERSION=3.5.0 +SUBVER=.3 + +STARTINDEX=7 + +III=$STARTINDEX +for FILE in $( wget -q -O - "http://cgit.freedesktop.org/libreoffice/core/plain/ooo.lst.in?id=$(echo $PRGNAM-$VERSION$SUBVER)" |grep -v "^@" ) ; do + + if echo $FILE | grep -q "^http://"; then + SRCURL=$FILE + else + cat <<EOT +SOURCE[$III]="\$SRCDIR/sources/$FILE" +SRCURL[$III]="$SRCURL/$FILE" + +EOT + III=$(($III+1)) + fi + +done |