New package: boxflat-1.30.1.

This commit is contained in:
Sebastian Ornig 2025-04-25 23:24:29 +02:00 committed by classabbyamp
parent bf6da9b704
commit 06964f67b0

37
srcpkgs/boxflat/template Normal file
View file

@ -0,0 +1,37 @@
# Template file for 'boxflat'
pkgname=boxflat
version=1.30.1
revision=1
depends="python3 gtk4 libadwaita cairo gobject-introspection python3-yaml
python3-psutil python3-pyserial python3-cairo python3-gobject python3-evdev"
short_desc="Adjust your Moza Racing gear settings"
maintainer="Sebastian Ornig <seb@sornig.eu>"
license="GPL-3.0-only"
homepage="https://github.com/Lawstorant/boxflat"
distfiles="https://github.com/Lawstorant/boxflat/archive/refs/tags/v${version}.tar.gz"
checksum=87f2b5c3a0375d8f90a02a0aefcf20d5101dca06ab76e71231d288b11d926172
do_install() {
vmkdir usr/share/boxflat
vcopy boxflat usr/share/boxflat
vcopy data usr/share/boxflat
vcopy udev usr/share/boxflat
vinstall entrypoint.py 644 usr/share/boxflat
for _meta in *metainfo.xml; do
vinstall "${_meta}" 644 usr/share/metainfo
done
vmkdir usr/share/icons/hicolor/
vcopy icons/* usr/share/icons/hicolor
vbin boxflat.sh boxflat
for _desktop in *.desktop; do
vinstall "${_desktop}" 644 usr/share/applications/
done
for _rule in udev/*; do
vinstall "${_rule}" 644 usr/lib/udev/rules.d
done
}