From e9c125ea2d50a83df46d49d84ae7946f24152817 Mon Sep 17 00:00:00 2001 From: JetpackJackson Date: Fri, 24 Jan 2025 17:21:00 -0500 Subject: [PATCH] user/listenbrainz-mpd: new package --- user/listenbrainz-mpd/template.py | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 user/listenbrainz-mpd/template.py diff --git a/user/listenbrainz-mpd/template.py b/user/listenbrainz-mpd/template.py new file mode 100644 index 0000000000..418151301d --- /dev/null +++ b/user/listenbrainz-mpd/template.py @@ -0,0 +1,21 @@ +pkgname = "listenbrainz-mpd" +pkgver = "2.3.8" +pkgrel = 0 +build_style = "cargo" +hostmakedepends = ["cargo", "pkgconf"] +makedepends = ["openssl-devel", "rust-std", "sqlite-devel"] +pkgdesc = "ListenBrainz submission client for MPD" +maintainer = "JetpackJackson " +license = "AGPL-3.0-only" +url = "https://codeberg.org/elomatreb/listenbrainz-mpd" +source = f"{url}/archive/v{pkgver}.tar.gz" +sha256 = "0a3456029c6eb73b391b1ad3b0f01795554c3b040f63998112a4a5fe8cbc7637" +# no tests +options = ["!check"] + + +def install(self): + self.install_bin( + f"target/{self.profile().triplet}/release/listenbrainz-mpd" + ) + self.install_license("LICENSE.txt")