use fpm to build deb; installs to /opt/gotify-tray/

This commit is contained in:
dries.k
2023-08-22 20:59:30 +02:00
parent 851056852d
commit 0f5caf1b9d
7 changed files with 72 additions and 66 deletions

View File

@@ -1,23 +1,8 @@
build: clean
pip install -r requirements.txt
pip install pyinstaller
pyinstaller gotify-tray.spec
cp -r debian build/debian
mkdir build/debian/usr/lib
cp -r dist/gotify-tray build/debian/usr/lib/gotify-tray
dpkg -b build/debian dist/gotify-tray_amd64.deb
build-macos: clean
pip install -r requirements.txt
pip install pyinstaller
pip install Pillow
pyinstaller gotify-tray.spec
install: build
sudo dpkg -i dist/gotify-tray_amd64.deb
uninstall:
sudo dpkg -r gotify-tray
clean:
rm -rf dist build