diff --git a/srcpkgs/monophony/template b/srcpkgs/monophony/template new file mode 100644 index 00000000000000..fd5ffe84d99da8 --- /dev/null +++ b/srcpkgs/monophony/template @@ -0,0 +1,24 @@ +# Template file for 'monophony' +pkgname=monophony +version=2.2.0 +revision=1 +build_style=gnu-makefile +hostmakedepends="python3-Nuitka" +depends="libadwaita python3-gobject python3-ytmusicapi python3-mpris_server yt-dlp" +short_desc="Gtk app for streaming music from YouTube" +maintainer="Bnyro " +license="AGPL-3.0-only" +homepage="https://gitlab.com/zehkira/monophony/" +distfiles="https://gitlab.com/zehkira/monophony/-/archive/v${version}/monophony-v${version}.tar.gz" +checksum=b8685d1874b6ba14881d606d10dfc989e1b09587828775ef784c4ffc7032f3f1 +build_wrksrc="source" +nocross="python3-Nuitka doesn't support cross compilation" + +pre_build() { + export CC=gcc +} + +do_install() { + make install prefix="${DESTDIR}/usr" + vlicense LICENSE +}