about summary refs log tree commit diff
path: root/pkgs/applications/office/openoffice/generate-libreoffice-srcs.sh
blob: fb8cc8161145e66977d2351c96bb112dfdafd41f (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
#!/var/run/current-system/bin/bash

# Take the list of files from the main package, ooo.lst.in

cat <<EOF
[
EOF

read file
while read file; do
  if [[ "$file" == @* ]]; then
    break
  fi
  echo '{'
  echo "  name = \"${file:33}\";"
  echo "  md5 = \"${file:0:32}\";"
  echo '}'
done

echo ']'