Added flatpak build script

This commit is contained in:
Robby Zampino
2019-09-04 18:33:07 -06:00
committed by Sumner Evans
parent 701e3b4700
commit e3bce8c589

8
flatpak/flatpak_build.sh Executable file
View File

@@ -0,0 +1,8 @@
#!/bin/bash
git clone https://github.com/flatpak/flatpak-builder-tools.git
sed -i "s/filename.endswith('gz')/filename.endswith('gz') or filename.endswith('zip')/g" flatpak-builder-tools/pip/flatpak-pip-generator
python3 ./flatpak-builder-tools/pip/flatpak-pip-generator --requirements-file=flatpak-requirements.txt --output pypi-dependencies
flatpak-builder flatpak_build_dir com.sumnerevans.libremsonic.json