2012-03-12 21:15:08 +01:00
|
|
|
#!/var/run/current-system/bin/bash
|
2012-01-25 20:12:27 +01:00
|
|
|
|
2012-03-12 21:15:08 +01:00
|
|
|
# Take the list of files from the main package, ooo.lst.in
|
2012-01-25 20:12:27 +01:00
|
|
|
|
|
|
|
echo '{fetchurl} : ['
|
|
|
|
|
2012-03-12 21:15:08 +01:00
|
|
|
while read a; do
|
2012-01-25 20:12:27 +01:00
|
|
|
|
2012-03-12 21:15:08 +01:00
|
|
|
URL=http://dev-www.libreoffice.org/src/$a
|
2012-01-25 20:12:27 +01:00
|
|
|
|
2012-03-12 21:15:08 +01:00
|
|
|
MD5=${a::32}
|
2012-01-25 20:12:27 +01:00
|
|
|
echo '(fetchurl {'
|
|
|
|
echo " url = \"$URL\";"
|
2012-03-12 21:15:08 +01:00
|
|
|
echo " md5 = \"$MD5\";"
|
2012-01-25 20:12:27 +01:00
|
|
|
echo '})'
|
|
|
|
done
|
|
|
|
|
|
|
|
echo ']'
|