add install.sh

This commit is contained in:
yuni 2024-04-19 23:19:14 +02:00
parent 965c7ef652
commit 917d130cf8

7
build/install.sh Executable file
View file

@ -0,0 +1,7 @@
#!/bin/sh
# usage: run this script from the project root, like this: build/install.sh [rootdir]
rootdir="${1:-}"
install -Dm755 "target/release/outfly" "$rootdir/usr/bin/outfly"
install -Dm644 "doc/images/outfly.png" "$rootdir/usr/share/pixmaps/outfly.png"
install -Dm644 "build/outfly.desktop" "$rootdir/usr/share/applications/outfly.desktop"