LogarithmPlotter/scripts/package-deb.sh

16 lines
506 B
Bash
Raw Normal View History

2024-09-29 22:23:39 +00:00
#!/bin/bash
2024-09-29 22:54:30 +00:00
cd "$(dirname "$(readlink -f "$0" || realpath "$0")")/.." || exit 1
2024-09-29 22:23:39 +00:00
rm -rf build
bash scripts/build.sh
2024-09-29 22:54:30 +00:00
cd build/runtime-pyside6 || exit 1
2024-09-29 22:23:39 +00:00
2024-09-29 22:54:30 +00:00
mkdir assets
cp -r ../../assets/{native,*.svg} assets/
cp ../../README.md .
python3 setup.py --remove-git-version --command-packages=stdeb.command sdist_dsc \
--package logarithmplotter --copyright-file assets/native/linux/debian/copyright \
--suite noble --depends3 "$(cat assets/native/linux/debian/depends)" --section science \
2024-09-29 22:23:39 +00:00
bdist_deb