nixpkgs-suyu/pkgs/applications/office/openoffice/generate-libreoffice-srcs.sh
Yury G. Kudryashov 7a9def2829 LibreOffice-3.6.0.4
* Use more system libraries
* Enable KDE4 desktop integration
* Split preparation between postUnpack, patchPhase and preConfigure

Viric, feel free to revert (parts of) this commit.
2012-08-31 12:11:41 +04:00

20 lines
295 B
Bash

#!/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 ']'